Enum square_api_client::models::enums::InventoryState
source · [−]pub enum InventoryState {
Show 14 variants
Custom,
InStock,
Sold,
ReturnedByCustomer,
ReservedForSale,
SoldOnline,
OrderedFromVendor,
InTransitTo,
None,
Waste,
UnlinkedReturn,
Composed,
Decomposed,
SuportedByNewerVersion,
}
Expand description
A type of state for the related quantity of items
Variants
Custom
InStock
Sold
ReturnedByCustomer
ReservedForSale
SoldOnline
OrderedFromVendor
InTransitTo
None
Waste
UnlinkedReturn
Composed
Decomposed
SuportedByNewerVersion
Trait Implementations
sourceimpl Clone for InventoryState
impl Clone for InventoryState
sourcefn clone(&self) -> InventoryState
fn clone(&self) -> InventoryState
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 InventoryState
impl Debug for InventoryState
sourceimpl<'de> Deserialize<'de> for InventoryState
impl<'de> Deserialize<'de> for InventoryState
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<InventoryState> for InventoryState
impl PartialEq<InventoryState> for InventoryState
sourcefn eq(&self, other: &InventoryState) -> bool
fn eq(&self, other: &InventoryState) -> bool
sourceimpl Serialize for InventoryState
impl Serialize for InventoryState
impl Eq for InventoryState
impl StructuralEq for InventoryState
impl StructuralPartialEq for InventoryState
Auto Trait Implementations
impl RefUnwindSafe for InventoryState
impl Send for InventoryState
impl Sync for InventoryState
impl Unpin for InventoryState
impl UnwindSafe for InventoryState
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.