pub enum CustomerType {
Company,
Individual,
}Expand description
Defines the type of customer entity.
Variants§
Trait Implementations§
Source§impl Clone for CustomerType
impl Clone for CustomerType
Source§fn clone(&self) -> CustomerType
fn clone(&self) -> CustomerType
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 CustomerType
impl Debug for CustomerType
Source§impl<'de> Deserialize<'de> for CustomerType
impl<'de> Deserialize<'de> for CustomerType
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 FromStr for CustomerType
impl FromStr for CustomerType
Source§impl Serialize for CustomerType
impl Serialize for CustomerType
Auto Trait Implementations§
impl Freeze for CustomerType
impl RefUnwindSafe for CustomerType
impl Send for CustomerType
impl Sync for CustomerType
impl Unpin for CustomerType
impl UnwindSafe for CustomerType
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