pub struct RawStockState {
pub sku: Sku,
pub total: Quantity,
pub reserved: Quantity,
}Fields§
§sku: Sku§total: Quantity§reserved: QuantityTrait Implementations§
Source§impl Clone for RawStockState
impl Clone for RawStockState
Source§fn clone(&self) -> RawStockState
fn clone(&self) -> RawStockState
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 RawStockState
impl Debug for RawStockState
Source§impl PartialEq for RawStockState
impl PartialEq for RawStockState
Source§fn eq(&self, other: &RawStockState) -> bool
fn eq(&self, other: &RawStockState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RawStockState
impl Eq for RawStockState
impl StructuralPartialEq for RawStockState
Auto Trait Implementations§
impl Freeze for RawStockState
impl RefUnwindSafe for RawStockState
impl Send for RawStockState
impl Sync for RawStockState
impl Unpin for RawStockState
impl UnsafeUnpin for RawStockState
impl UnwindSafe for RawStockState
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