pub enum ProductType {
Good,
Service,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProductType
impl Clone for ProductType
Source§fn clone(&self) -> ProductType
fn clone(&self) -> ProductType
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 ProductType
impl Debug for ProductType
Source§impl Deserialize for ProductType
impl Deserialize for ProductType
Source§impl Display for ProductType
impl Display for ProductType
Source§impl FromStr for ProductType
impl FromStr for ProductType
Source§impl FromValueOpt for ProductType
impl FromValueOpt for ProductType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for ProductType
impl PartialEq for ProductType
Source§impl Serialize for ProductType
impl Serialize for ProductType
impl Copy for ProductType
impl Eq for ProductType
impl StructuralPartialEq for ProductType
Auto Trait Implementations§
impl Freeze for ProductType
impl RefUnwindSafe for ProductType
impl Send for ProductType
impl Sync for ProductType
impl Unpin for ProductType
impl UnwindSafe for ProductType
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