pub enum Identification {
Individual(PersonalIdentification),
Business(BusinessIdentification),
}Variants§
Individual(PersonalIdentification)
Business(BusinessIdentification)
Trait Implementations§
Source§impl Clone for Identification
impl Clone for Identification
Source§fn clone(&self) -> Identification
fn clone(&self) -> Identification
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 Identification
impl Debug for Identification
Source§impl Default for Identification
impl Default for Identification
Source§impl<'de> Deserialize<'de> for Identification
impl<'de> Deserialize<'de> for Identification
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 Identification
impl PartialEq for Identification
Source§impl Serialize for Identification
impl Serialize for Identification
impl StructuralPartialEq for Identification
Auto Trait Implementations§
impl Freeze for Identification
impl RefUnwindSafe for Identification
impl Send for Identification
impl Sync for Identification
impl Unpin for Identification
impl UnwindSafe for Identification
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