pub enum OfferingStatus {
Active,
Inactive,
Discontinued,
}Expand description
Location-level offering status used to prevent inactive or discontinued products from being sold.
Variants§
Active
Offering can be considered for sale or recommendation if usage and inventory also allow it.
Inactive
Offering is disabled at the location and must not be sold or recommended.
Discontinued
Offering has been retired and should remain out of staff sale and recommendation drafts.
Trait Implementations§
Source§impl Clone for OfferingStatus
impl Clone for OfferingStatus
Source§fn clone(&self) -> OfferingStatus
fn clone(&self) -> OfferingStatus
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 OfferingStatus
impl Debug for OfferingStatus
Source§impl<'de> Deserialize<'de> for OfferingStatus
impl<'de> Deserialize<'de> for OfferingStatus
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 PartialEq for OfferingStatus
impl PartialEq for OfferingStatus
Source§impl Serialize for OfferingStatus
impl Serialize for OfferingStatus
impl Copy for OfferingStatus
impl Eq for OfferingStatus
impl StructuralPartialEq for OfferingStatus
Auto Trait Implementations§
impl Freeze for OfferingStatus
impl RefUnwindSafe for OfferingStatus
impl Send for OfferingStatus
impl Sync for OfferingStatus
impl Unpin for OfferingStatus
impl UnsafeUnpin for OfferingStatus
impl UnwindSafe for OfferingStatus
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