pub struct PriceQuantity {
pub minimum: u64,
pub maximum: u64,
}
Fields§
§minimum: u64
Minimum quantity of the product related to this price that can be bought. Required if maximum
set.
maximum: u64
Maximum quantity of the product related to this price that can be bought. Required if minimum
set. Must be greater than or equal to the minimum
value.
Trait Implementations§
Source§impl Clone for PriceQuantity
impl Clone for PriceQuantity
Source§fn clone(&self) -> PriceQuantity
fn clone(&self) -> PriceQuantity
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 PriceQuantity
impl Debug for PriceQuantity
Source§impl<'de> Deserialize<'de> for PriceQuantity
impl<'de> Deserialize<'de> for PriceQuantity
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
Auto Trait Implementations§
impl Freeze for PriceQuantity
impl RefUnwindSafe for PriceQuantity
impl Send for PriceQuantity
impl Sync for PriceQuantity
impl Unpin for PriceQuantity
impl UnwindSafe for PriceQuantity
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