pub enum IntendedUse {
Industrial,
Pharmaceutical,
Agricultural,
Food,
Cosmetic,
Other(String),
}Expand description
Intended end-use category (influences chapter selection for special cases such as pharmaceuticals → Ch. 30, fertilisers → Ch. 31).
Variants§
Trait Implementations§
Source§impl Clone for IntendedUse
impl Clone for IntendedUse
Source§fn clone(&self) -> IntendedUse
fn clone(&self) -> IntendedUse
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 IntendedUse
impl Debug for IntendedUse
Source§impl<'de> Deserialize<'de> for IntendedUse
impl<'de> Deserialize<'de> for IntendedUse
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 IntendedUse
impl PartialEq for IntendedUse
Source§fn eq(&self, other: &IntendedUse) -> bool
fn eq(&self, other: &IntendedUse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IntendedUse
impl Serialize for IntendedUse
impl StructuralPartialEq for IntendedUse
Auto Trait Implementations§
impl Freeze for IntendedUse
impl RefUnwindSafe for IntendedUse
impl Send for IntendedUse
impl Sync for IntendedUse
impl Unpin for IntendedUse
impl UnsafeUnpin for IntendedUse
impl UnwindSafe for IntendedUse
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