Struct amazon_sp_vendor_orders::models::item_quantity::ItemQuantity
source · [−]pub struct ItemQuantity {
pub amount: Option<i32>,
pub unit_of_measure: Option<UnitOfMeasure>,
pub unit_size: Option<i32>,
}Expand description
ItemQuantity : Details of quantity ordered.
Fields
amount: Option<i32>Acknowledged quantity. This value should not be zero.
unit_of_measure: Option<UnitOfMeasure>Unit of measure for the acknowledged quantity.
unit_size: Option<i32>The case size, in the event that we ordered using cases.
Implementations
sourceimpl ItemQuantity
impl ItemQuantity
sourcepub fn new() -> ItemQuantity
pub fn new() -> ItemQuantity
Details of quantity ordered.
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