Struct amazon_sp_vendor_direct_fulfillment_shipping::models::shipment_confirmation::ShipmentConfirmation
source · [−]pub struct ShipmentConfirmation {
pub purchase_order_number: String,
pub shipment_details: Box<ShipmentDetails>,
pub selling_party: Box<PartyIdentification>,
pub ship_from_party: Box<PartyIdentification>,
pub items: Vec<Item>,
pub containers: Option<Vec<Container>>,
}Fields
purchase_order_number: StringPurchase order number corresponding to the shipment.
shipment_details: Box<ShipmentDetails>selling_party: Box<PartyIdentification>ship_from_party: Box<PartyIdentification>items: Vec<Item>Provide the details of the items in this shipment. If any of the item details field is common at a package or a pallet level, then provide them at the corresponding package.
containers: Option<Vec<Container>>Provide the details of the items in this shipment. If any of the item details field is common at a package or a pallet level, then provide them at the corresponding package.
Implementations
sourceimpl ShipmentConfirmation
impl ShipmentConfirmation
pub fn new(
purchase_order_number: String,
shipment_details: ShipmentDetails,
selling_party: PartyIdentification,
ship_from_party: PartyIdentification,
items: Vec<Item>
) -> ShipmentConfirmation
Trait Implementations
sourceimpl Clone for ShipmentConfirmation
impl Clone for ShipmentConfirmation
sourcefn clone(&self) -> ShipmentConfirmation
fn clone(&self) -> ShipmentConfirmation
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 ShipmentConfirmation
impl Debug for ShipmentConfirmation
sourceimpl Default for ShipmentConfirmation
impl Default for ShipmentConfirmation
sourcefn default() -> ShipmentConfirmation
fn default() -> ShipmentConfirmation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ShipmentConfirmation
impl<'de> Deserialize<'de> for ShipmentConfirmation
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<ShipmentConfirmation> for ShipmentConfirmation
impl PartialEq<ShipmentConfirmation> for ShipmentConfirmation
sourcefn eq(&self, other: &ShipmentConfirmation) -> bool
fn eq(&self, other: &ShipmentConfirmation) -> bool
sourceimpl Serialize for ShipmentConfirmation
impl Serialize for ShipmentConfirmation
impl StructuralPartialEq for ShipmentConfirmation
Auto Trait Implementations
impl RefUnwindSafe for ShipmentConfirmation
impl Send for ShipmentConfirmation
impl Sync for ShipmentConfirmation
impl Unpin for ShipmentConfirmation
impl UnwindSafe for ShipmentConfirmation
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