pub struct LineItemsAdjustableQuantity {
pub enabled: bool,
pub maximum: Option<i64>,
pub minimum: Option<i64>,
}Fields§
§enabled: bool§maximum: Option<i64>§minimum: Option<i64>Trait Implementations§
Source§impl Clone for LineItemsAdjustableQuantity
impl Clone for LineItemsAdjustableQuantity
Source§fn clone(&self) -> LineItemsAdjustableQuantity
fn clone(&self) -> LineItemsAdjustableQuantity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LineItemsAdjustableQuantity
impl Debug for LineItemsAdjustableQuantity
Source§impl FromValueOpt for LineItemsAdjustableQuantity
impl FromValueOpt for LineItemsAdjustableQuantity
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for LineItemsAdjustableQuantity
impl PartialEq for LineItemsAdjustableQuantity
Source§fn eq(&self, other: &LineItemsAdjustableQuantity) -> bool
fn eq(&self, other: &LineItemsAdjustableQuantity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LineItemsAdjustableQuantity
impl Eq for LineItemsAdjustableQuantity
impl StructuralPartialEq for LineItemsAdjustableQuantity
Auto Trait Implementations§
impl Freeze for LineItemsAdjustableQuantity
impl RefUnwindSafe for LineItemsAdjustableQuantity
impl Send for LineItemsAdjustableQuantity
impl Sync for LineItemsAdjustableQuantity
impl Unpin for LineItemsAdjustableQuantity
impl UnsafeUnpin for LineItemsAdjustableQuantity
impl UnwindSafe for LineItemsAdjustableQuantity
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