pub enum WorkStatus {
Show 13 variants
Unspecified,
Cancelled,
Forthcoming,
PostponedIndefinitely,
Active,
NoLongerOurProduct,
OutOfStockIndefinitely,
OutOfPrint,
Inactive,
Unknown,
Remaindered,
WithdrawnFromSale,
Recalled,
}
Variants§
Unspecified
Cancelled
Forthcoming
PostponedIndefinitely
Active
NoLongerOurProduct
OutOfStockIndefinitely
OutOfPrint
Inactive
Unknown
Remaindered
WithdrawnFromSale
Recalled
Trait Implementations§
Source§impl Clone for WorkStatus
impl Clone for WorkStatus
Source§fn clone(&self) -> WorkStatus
fn clone(&self) -> WorkStatus
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 WorkStatus
impl Debug for WorkStatus
Source§impl Default for WorkStatus
impl Default for WorkStatus
Source§fn default() -> WorkStatus
fn default() -> WorkStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkStatus
impl<'de> Deserialize<'de> for WorkStatus
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 Display for WorkStatus
impl Display for WorkStatus
Source§impl FromStr for WorkStatus
impl FromStr for WorkStatus
Source§type Err = ThothError
type Err = ThothError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<WorkStatus, ThothError>
fn from_str(input: &str) -> Result<WorkStatus, ThothError>
Parses a string
s
to return a value of this type. Read moreSource§impl PartialEq for WorkStatus
impl PartialEq for WorkStatus
Source§impl Serialize for WorkStatus
impl Serialize for WorkStatus
impl StructuralPartialEq for WorkStatus
Auto Trait Implementations§
impl Freeze for WorkStatus
impl RefUnwindSafe for WorkStatus
impl Send for WorkStatus
impl Sync for WorkStatus
impl Unpin for WorkStatus
impl UnwindSafe for WorkStatus
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