Struct amazon_sp_vendor_direct_fulfillment_inventory::models::item_quantity::ItemQuantity
source · [−]Expand description
ItemQuantity : Details of item quantity.
Fields
amount: Option<i32>Quantity of units available for a specific item.
unit_of_measure: StringUnit of measure for the available quantity.
Implementations
sourceimpl ItemQuantity
impl ItemQuantity
sourcepub fn new(unit_of_measure: String) -> ItemQuantity
pub fn new(unit_of_measure: String) -> ItemQuantity
Details of item quantity.
Trait Implementations
sourceimpl Clone for ItemQuantity
impl Clone for ItemQuantity
sourcefn clone(&self) -> ItemQuantity
fn clone(&self) -> ItemQuantity
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 ItemQuantity
impl Debug for ItemQuantity
sourceimpl Default for ItemQuantity
impl Default for ItemQuantity
sourcefn default() -> ItemQuantity
fn default() -> ItemQuantity
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ItemQuantity
impl<'de> Deserialize<'de> for ItemQuantity
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<ItemQuantity> for ItemQuantity
impl PartialEq<ItemQuantity> for ItemQuantity
sourcefn eq(&self, other: &ItemQuantity) -> bool
fn eq(&self, other: &ItemQuantity) -> bool
sourceimpl Serialize for ItemQuantity
impl Serialize for ItemQuantity
impl StructuralPartialEq for ItemQuantity
Auto Trait Implementations
impl RefUnwindSafe for ItemQuantity
impl Send for ItemQuantity
impl Sync for ItemQuantity
impl Unpin for ItemQuantity
impl UnwindSafe for ItemQuantity
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