pub struct ContainerIdentification {
pub container_identification_type: ContainerIdentificationType,
pub container_identification_number: String,
}Expand description
ContainerIdentification : A list of carton identifiers.
Fields§
§container_identification_type: ContainerIdentificationTypeThe container identification type.
container_identification_number: StringContainer identification number that adheres to the definition of the container identification type.
Implementations§
Source§impl ContainerIdentification
impl ContainerIdentification
Sourcepub fn new(
container_identification_type: ContainerIdentificationType,
container_identification_number: String,
) -> ContainerIdentification
pub fn new( container_identification_type: ContainerIdentificationType, container_identification_number: String, ) -> ContainerIdentification
A list of carton identifiers.
Trait Implementations§
Source§impl Clone for ContainerIdentification
impl Clone for ContainerIdentification
Source§fn clone(&self) -> ContainerIdentification
fn clone(&self) -> ContainerIdentification
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 moreSource§impl Debug for ContainerIdentification
impl Debug for ContainerIdentification
Source§impl Default for ContainerIdentification
impl Default for ContainerIdentification
Source§fn default() -> ContainerIdentification
fn default() -> ContainerIdentification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerIdentification
impl<'de> Deserialize<'de> for ContainerIdentification
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
Source§impl PartialEq for ContainerIdentification
impl PartialEq for ContainerIdentification
Source§impl Serialize for ContainerIdentification
impl Serialize for ContainerIdentification
impl StructuralPartialEq for ContainerIdentification
Auto Trait Implementations§
impl Freeze for ContainerIdentification
impl RefUnwindSafe for ContainerIdentification
impl Send for ContainerIdentification
impl Sync for ContainerIdentification
impl Unpin for ContainerIdentification
impl UnwindSafe for ContainerIdentification
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