pub struct ShipmentItem {
pub ASIN: Option<String>,
pub seller_sku: Option<String>,
pub order_item_id: Option<String>,
pub title: Option<String>,
pub quantity_ordered: Option<f32>,
pub item_price: Option<Box<Money>>,
pub shipping_price: Option<Box<Money>>,
pub gift_wrap_price: Option<Box<Money>>,
pub shipping_discount: Option<Box<Money>>,
pub promotion_discount: Option<Box<Money>>,
pub serial_numbers: Option<Vec<String>>,
}Expand description
ShipmentItem : The shipment item information required by a seller to issue a shipment invoice.
Fields
ASIN: Option<String>The Amazon Standard Identification Number (ASIN) of the item.
seller_sku: Option<String>The seller SKU of the item.
order_item_id: Option<String>The Amazon-defined identifier for the order item.
title: Option<String>The name of the item.
quantity_ordered: Option<f32>The number of items ordered.
item_price: Option<Box<Money>>shipping_price: Option<Box<Money>>gift_wrap_price: Option<Box<Money>>shipping_discount: Option<Box<Money>>promotion_discount: Option<Box<Money>>serial_numbers: Option<Vec<String>>The list of serial numbers.
Implementations
sourceimpl ShipmentItem
impl ShipmentItem
sourcepub fn new() -> ShipmentItem
pub fn new() -> ShipmentItem
The shipment item information required by a seller to issue a shipment invoice.
Trait Implementations
sourceimpl Clone for ShipmentItem
impl Clone for ShipmentItem
sourcefn clone(&self) -> ShipmentItem
fn clone(&self) -> ShipmentItem
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 ShipmentItem
impl Debug for ShipmentItem
sourceimpl Default for ShipmentItem
impl Default for ShipmentItem
sourcefn default() -> ShipmentItem
fn default() -> ShipmentItem
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ShipmentItem
impl<'de> Deserialize<'de> for ShipmentItem
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<ShipmentItem> for ShipmentItem
impl PartialEq<ShipmentItem> for ShipmentItem
sourcefn eq(&self, other: &ShipmentItem) -> bool
fn eq(&self, other: &ShipmentItem) -> bool
sourceimpl Serialize for ShipmentItem
impl Serialize for ShipmentItem
impl StructuralPartialEq for ShipmentItem
Auto Trait Implementations
impl RefUnwindSafe for ShipmentItem
impl Send for ShipmentItem
impl Sync for ShipmentItem
impl Unpin for ShipmentItem
impl UnwindSafe for ShipmentItem
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