Struct amazon_sp_vendor_direct_fulfillment_shipping::models::shipping_label::ShippingLabel
source · [−]pub struct ShippingLabel {
pub purchase_order_number: String,
pub selling_party: Box<PartyIdentification>,
pub ship_from_party: Box<PartyIdentification>,
pub label_format: LabelFormat,
pub label_data: Vec<LabelData>,
}Fields
purchase_order_number: StringThis field will contain the Purchase Order Number for this order.
selling_party: Box<PartyIdentification>ship_from_party: Box<PartyIdentification>label_format: LabelFormatFormat of the label.
label_data: Vec<LabelData>Provides the details of the packages in this shipment.
Implementations
sourceimpl ShippingLabel
impl ShippingLabel
pub fn new(
purchase_order_number: String,
selling_party: PartyIdentification,
ship_from_party: PartyIdentification,
label_format: LabelFormat,
label_data: Vec<LabelData>
) -> ShippingLabel
Trait Implementations
sourceimpl Clone for ShippingLabel
impl Clone for ShippingLabel
sourcefn clone(&self) -> ShippingLabel
fn clone(&self) -> ShippingLabel
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 ShippingLabel
impl Debug for ShippingLabel
sourceimpl Default for ShippingLabel
impl Default for ShippingLabel
sourcefn default() -> ShippingLabel
fn default() -> ShippingLabel
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ShippingLabel
impl<'de> Deserialize<'de> for ShippingLabel
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<ShippingLabel> for ShippingLabel
impl PartialEq<ShippingLabel> for ShippingLabel
sourcefn eq(&self, other: &ShippingLabel) -> bool
fn eq(&self, other: &ShippingLabel) -> bool
sourceimpl Serialize for ShippingLabel
impl Serialize for ShippingLabel
impl StructuralPartialEq for ShippingLabel
Auto Trait Implementations
impl RefUnwindSafe for ShippingLabel
impl Send for ShippingLabel
impl Sync for ShippingLabel
impl Unpin for ShippingLabel
impl UnwindSafe for ShippingLabel
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