pub struct ProductInformation {
pub manufacturer_id: ManufacturerID,
pub product_code: u16,
pub serial_number: u32,
pub manufacture_date: ManufactureDate,
}Expand description
Information about the product and its manufacture.
Fields§
§manufacturer_id: ManufacturerID§product_code: u16§serial_number: u32§manufacture_date: ManufactureDateTrait Implementations§
Source§impl Clone for ProductInformation
impl Clone for ProductInformation
Source§fn clone(&self) -> ProductInformation
fn clone(&self) -> ProductInformation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProductInformation
impl RefUnwindSafe for ProductInformation
impl Send for ProductInformation
impl Sync for ProductInformation
impl Unpin for ProductInformation
impl UnwindSafe for ProductInformation
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