pub struct Expiry {
pub manufacturer_date: Option<String>,
pub expiry_date: Option<String>,
pub expiry_after_duration: Option<Box<Duration>>,
}Fields
manufacturer_date: Option<String>Production, packaging or assembly date determined by the manufacturer. Its meaning is determined based on the trade item context.
expiry_date: Option<String>The date that determines the limit of consumption or use of a product. Its meaning is determined based on the trade item context.
expiry_after_duration: Option<Box<Duration>>Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Expiry
impl<'de> Deserialize<'de> for Expiry
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Expiry
Auto Trait Implementations
impl RefUnwindSafe for Expiry
impl Send for Expiry
impl Sync for Expiry
impl Unpin for Expiry
impl UnwindSafe for Expiry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more