pub struct ItemDetails {
pub buyer_product_identifier: Option<String>,
pub vendor_product_identifier: Option<String>,
pub available_quantity: Box<ItemQuantity>,
pub is_obsolete: Option<bool>,
}Expand description
ItemDetails : Updated inventory details for an item.
Fields
buyer_product_identifier: Option<String>The buyer selected product identification of the item. Either buyerProductIdentifier or vendorProductIdentifier should be submitted.
vendor_product_identifier: Option<String>The vendor selected product identification of the item. Either buyerProductIdentifier or vendorProductIdentifier should be submitted.
available_quantity: Box<ItemQuantity>is_obsolete: Option<bool>When true, the item is permanently unavailable.
Implementations
sourceimpl ItemDetails
impl ItemDetails
sourcepub fn new(available_quantity: ItemQuantity) -> ItemDetails
pub fn new(available_quantity: ItemQuantity) -> ItemDetails
Updated inventory details for an item.
Trait Implementations
sourceimpl Clone for ItemDetails
impl Clone for ItemDetails
sourcefn clone(&self) -> ItemDetails
fn clone(&self) -> ItemDetails
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 ItemDetails
impl Debug for ItemDetails
sourceimpl Default for ItemDetails
impl Default for ItemDetails
sourcefn default() -> ItemDetails
fn default() -> ItemDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ItemDetails
impl<'de> Deserialize<'de> for ItemDetails
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<ItemDetails> for ItemDetails
impl PartialEq<ItemDetails> for ItemDetails
sourcefn eq(&self, other: &ItemDetails) -> bool
fn eq(&self, other: &ItemDetails) -> bool
sourceimpl Serialize for ItemDetails
impl Serialize for ItemDetails
impl StructuralPartialEq for ItemDetails
Auto Trait Implementations
impl RefUnwindSafe for ItemDetails
impl Send for ItemDetails
impl Sync for ItemDetails
impl Unpin for ItemDetails
impl UnwindSafe for ItemDetails
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