pub struct AvailableUnits(/* private fields */);Expand description
Units available to sell after reserved units are subtracted from on-hand stock.
Implementations§
Trait Implementations§
Source§impl Clone for AvailableUnits
impl Clone for AvailableUnits
Source§fn clone(&self) -> AvailableUnits
fn clone(&self) -> AvailableUnits
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 AvailableUnits
impl Debug for AvailableUnits
Source§impl<'de> Deserialize<'de> for AvailableUnits
impl<'de> Deserialize<'de> for AvailableUnits
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
Source§impl Hash for AvailableUnits
impl Hash for AvailableUnits
Source§impl Ord for AvailableUnits
impl Ord for AvailableUnits
Source§fn cmp(&self, other: &AvailableUnits) -> Ordering
fn cmp(&self, other: &AvailableUnits) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AvailableUnits
impl PartialEq for AvailableUnits
Source§impl PartialOrd for AvailableUnits
impl PartialOrd for AvailableUnits
Source§impl Serialize for AvailableUnits
impl Serialize for AvailableUnits
impl Copy for AvailableUnits
impl Eq for AvailableUnits
impl StructuralPartialEq for AvailableUnits
Auto Trait Implementations§
impl Freeze for AvailableUnits
impl RefUnwindSafe for AvailableUnits
impl Send for AvailableUnits
impl Sync for AvailableUnits
impl Unpin for AvailableUnits
impl UnsafeUnpin for AvailableUnits
impl UnwindSafe for AvailableUnits
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