pub struct Product {
pub code: String,
pub name: String,
pub property_codes: Vec<PropertyCode>,
pub wertedetails: Option<Wertedetails>,
}Expand description
One product of chapter 6.2.
Fields§
§code: StringThe product code, PIA+5 DE7140.
name: String§property_codes: Vec<PropertyCode>The codes its CAV+ZH9 DE7110 may carry; empty when it has none.
wertedetails: Option<Wertedetails>What its CAV+ZV4 DE7110 carries; None when it has none.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Product
impl<'de> Deserialize<'de> for Product
Source§fn 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
Auto Trait Implementations§
impl Freeze for Product
impl RefUnwindSafe for Product
impl Send for Product
impl Sync for Product
impl Unpin for Product
impl UnsafeUnpin for Product
impl UnwindSafe for Product
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more