pub struct Containers {
pub container_type: ContainerType,
pub container_sequence_number: Option<String>,
pub container_identifiers: Vec<ContainerIdentification>,
pub tracking_number: Option<String>,
pub dimensions: Option<Box<Dimensions>>,
pub weight: Option<Box<Weight>>,
pub tier: Option<i32>,
pub block: Option<i32>,
pub inner_containers_details: Option<Box<InnerContainersDetails>>,
pub packed_items: Option<Vec<PackedItems>>,
}Expand description
Containers : A list of the items in this transportation and their associated inner container details. If any of the item detail fields are common at a carton or a pallet level, provide them at the corresponding carton or pallet level.
Fields§
§container_type: ContainerTypeThe type of container.
container_sequence_number: Option<String>An integer that must be submitted for multi-box shipments only, where one item may come in separate packages.
container_identifiers: Vec<ContainerIdentification>A list of carton identifiers.
tracking_number: Option<String>The tracking number used for identifying the shipment.
dimensions: Option<Box<Dimensions>>§weight: Option<Box<Weight>>§tier: Option<i32>Number of layers per pallet.
block: Option<i32>Number of cartons per layer on the pallet.
inner_containers_details: Option<Box<InnerContainersDetails>>§packed_items: Option<Vec<PackedItems>>A list of packed items.
Implementations§
Source§impl Containers
impl Containers
Sourcepub fn new(
container_type: ContainerType,
container_identifiers: Vec<ContainerIdentification>,
) -> Containers
pub fn new( container_type: ContainerType, container_identifiers: Vec<ContainerIdentification>, ) -> Containers
A list of the items in this transportation and their associated inner container details. If any of the item detail fields are common at a carton or a pallet level, provide them at the corresponding carton or pallet level.
Trait Implementations§
Source§impl Clone for Containers
impl Clone for Containers
Source§fn clone(&self) -> Containers
fn clone(&self) -> Containers
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more