pub struct ContainerItem {
pub item_reference: String,
pub shipped_quantity: Box<ItemQuantity>,
pub item_details: Option<Box<ItemDetails>>,
}Expand description
ContainerItem : Carton/Pallet level details for the item.
Fields
item_reference: StringThe reference number for the item. Please provide the itemSequenceNumber from the ‘items’ segment to refer to that item’s details here.
shipped_quantity: Box<ItemQuantity>item_details: Option<Box<ItemDetails>>Implementations
sourceimpl ContainerItem
impl ContainerItem
sourcepub fn new(
item_reference: String,
shipped_quantity: ItemQuantity
) -> ContainerItem
pub fn new(
item_reference: String,
shipped_quantity: ItemQuantity
) -> ContainerItem
Carton/Pallet level details for the item.
Trait Implementations
sourceimpl Clone for ContainerItem
impl Clone for ContainerItem
sourcefn clone(&self) -> ContainerItem
fn clone(&self) -> ContainerItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ContainerItem
impl Debug for ContainerItem
sourceimpl Default for ContainerItem
impl Default for ContainerItem
sourcefn default() -> ContainerItem
fn default() -> ContainerItem
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ContainerItem
impl<'de> Deserialize<'de> for ContainerItem
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
sourceimpl PartialEq<ContainerItem> for ContainerItem
impl PartialEq<ContainerItem> for ContainerItem
sourcefn eq(&self, other: &ContainerItem) -> bool
fn eq(&self, other: &ContainerItem) -> bool
sourceimpl Serialize for ContainerItem
impl Serialize for ContainerItem
impl StructuralPartialEq for ContainerItem
Auto Trait Implementations
impl RefUnwindSafe for ContainerItem
impl Send for ContainerItem
impl Sync for ContainerItem
impl Unpin for ContainerItem
impl UnwindSafe for ContainerItem
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