#[repr(u8)]pub enum AddressProofType {
UtilityBill = 0,
BankStatement = 1,
TaxDocument = 2,
GovernmentMail = 3,
TelecomBill = 4,
InsuranceDocument = 5,
RentalAgreement = 6,
PropertyOwnership = 7,
VoterRegistration = 8,
}Expand description
Address proof type
Variants§
UtilityBill = 0
Utility bill (electricity, gas, water)
BankStatement = 1
Bank statement
TaxDocument = 2
Tax document
GovernmentMail = 3
Government correspondence
TelecomBill = 4
Telecom bill
InsuranceDocument = 5
Insurance document
RentalAgreement = 6
Rental agreement
PropertyOwnership = 7
Property ownership record
VoterRegistration = 8
Voter registration
Implementations§
Trait Implementations§
Source§impl Clone for AddressProofType
impl Clone for AddressProofType
Source§fn clone(&self) -> AddressProofType
fn clone(&self) -> AddressProofType
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 AddressProofType
impl Debug for AddressProofType
Source§impl<'de> Deserialize<'de> for AddressProofType
impl<'de> Deserialize<'de> for AddressProofType
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 Hash for AddressProofType
impl Hash for AddressProofType
Source§impl PartialEq for AddressProofType
impl PartialEq for AddressProofType
Source§fn eq(&self, other: &AddressProofType) -> bool
fn eq(&self, other: &AddressProofType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AddressProofType
impl Serialize for AddressProofType
impl Copy for AddressProofType
impl Eq for AddressProofType
impl StructuralPartialEq for AddressProofType
Auto Trait Implementations§
impl Freeze for AddressProofType
impl RefUnwindSafe for AddressProofType
impl Send for AddressProofType
impl Sync for AddressProofType
impl Unpin for AddressProofType
impl UnsafeUnpin for AddressProofType
impl UnwindSafe for AddressProofType
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