pub struct PackedItem {
pub item_sequence_number: i32,
pub buyer_product_identifier: Option<String>,
pub vendor_product_identifier: Option<String>,
pub packed_quantity: Box<ItemQuantity>,
}Fields
item_sequence_number: i32Item Sequence Number for the item. This must be the same value as sent in the order for a given item.
buyer_product_identifier: Option<String>Buyer’s Standard Identification Number (ASIN) of an item. Either buyerProductIdentifier or vendorProductIdentifier is required.
vendor_product_identifier: Option<String>The vendor selected product identification of the item. Should be the same as was sent in the Purchase Order, like SKU Number.
packed_quantity: Box<ItemQuantity>Implementations
sourceimpl PackedItem
impl PackedItem
pub fn new(
item_sequence_number: i32,
packed_quantity: ItemQuantity
) -> PackedItem
Trait Implementations
sourceimpl Clone for PackedItem
impl Clone for PackedItem
sourcefn clone(&self) -> PackedItem
fn clone(&self) -> PackedItem
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 PackedItem
impl Debug for PackedItem
sourceimpl Default for PackedItem
impl Default for PackedItem
sourcefn default() -> PackedItem
fn default() -> PackedItem
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PackedItem
impl<'de> Deserialize<'de> for PackedItem
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<PackedItem> for PackedItem
impl PartialEq<PackedItem> for PackedItem
sourcefn eq(&self, other: &PackedItem) -> bool
fn eq(&self, other: &PackedItem) -> bool
sourceimpl Serialize for PackedItem
impl Serialize for PackedItem
impl StructuralPartialEq for PackedItem
Auto Trait Implementations
impl RefUnwindSafe for PackedItem
impl Send for PackedItem
impl Sync for PackedItem
impl Unpin for PackedItem
impl UnwindSafe for PackedItem
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