pub struct InventoryItem {
pub seller_sku: String,
pub marketplace_id: String,
pub quantity: i32,
}Expand description
InventoryItem : An item in the list of inventory to be added.
Fields§
§seller_sku: StringThe seller SKU of the item.
marketplace_id: StringThe marketplaceId.
quantity: i32The quantity of item to add.
Implementations§
Source§impl InventoryItem
impl InventoryItem
Trait Implementations§
Source§impl Clone for InventoryItem
impl Clone for InventoryItem
Source§fn clone(&self) -> InventoryItem
fn clone(&self) -> InventoryItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InventoryItem
impl Debug for InventoryItem
Source§impl Default for InventoryItem
impl Default for InventoryItem
Source§fn default() -> InventoryItem
fn default() -> InventoryItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InventoryItem
impl<'de> Deserialize<'de> for InventoryItem
Source§fn 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
Source§impl PartialEq for InventoryItem
impl PartialEq for InventoryItem
Source§impl Serialize for InventoryItem
impl Serialize for InventoryItem
impl StructuralPartialEq for InventoryItem
Auto Trait Implementations§
impl Freeze for InventoryItem
impl RefUnwindSafe for InventoryItem
impl Send for InventoryItem
impl Sync for InventoryItem
impl Unpin for InventoryItem
impl UnsafeUnpin for InventoryItem
impl UnwindSafe for InventoryItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more