pub enum IDType {
DrivingLicense,
NationalIdCard,
Passport,
AddressProof,
ResidencePermit,
TaxId,
}Expand description
ID type
Variants§
DrivingLicense
Driving license
NationalIdCard
National ID card
Passport
Passport
AddressProof
Address proof
ResidencePermit
Residence permit
TaxId
Tax ID
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IDType
impl<'de> Deserialize<'de> for IDType
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
impl Eq for IDType
impl StructuralPartialEq for IDType
Auto Trait Implementations§
impl Freeze for IDType
impl RefUnwindSafe for IDType
impl Send for IDType
impl Sync for IDType
impl Unpin for IDType
impl UnwindSafe for IDType
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