#[non_exhaustive]
pub enum Kind {
Show 13 variants
PersonalDetails,
Passport,
DriverLicense,
IdentityCard,
InternalPassport,
Address,
UtilityBill,
BankStatement,
RentalAgreement,
PassportRegistration,
TemporaryRegistration,
PhoneNumber,
Email,
}
Expand description
Represents possible element kinds for unspecified error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PersonalDetails
An error in the user’s personal details.
Passport
An error in the user’s passport.
DriverLicense
An error in the user’s driver license.
IdentityCard
An error in the user’s identity card.
InternalPassport
An error in the user’s internal passport.
Address
An error in the user’s address.
UtilityBill
An error in the user’s utility bill.
BankStatement
An error in the user’s bank statement.
RentalAgreement
An error in the user’s rental agreement.
PassportRegistration
An error in the user’s passport registration.
TemporaryRegistration
An error in the user’s temporary registration.
PhoneNumber
An error in the user’s phone number.
An error in the user’s email.
Implementations§
source§impl Kind
impl Kind
sourcepub fn is_personal_details(&self) -> bool
pub fn is_personal_details(&self) -> bool
Returns true
if self
is of variant PersonalDetails
.
sourcepub fn is_passport(&self) -> bool
pub fn is_passport(&self) -> bool
Returns true
if self
is of variant Passport
.
sourcepub fn is_driver_license(&self) -> bool
pub fn is_driver_license(&self) -> bool
Returns true
if self
is of variant DriverLicense
.
sourcepub fn is_identity_card(&self) -> bool
pub fn is_identity_card(&self) -> bool
Returns true
if self
is of variant IdentityCard
.
sourcepub fn is_internal_passport(&self) -> bool
pub fn is_internal_passport(&self) -> bool
Returns true
if self
is of variant InternalPassport
.
sourcepub fn is_address(&self) -> bool
pub fn is_address(&self) -> bool
Returns true
if self
is of variant Address
.
sourcepub fn is_utility_bill(&self) -> bool
pub fn is_utility_bill(&self) -> bool
Returns true
if self
is of variant UtilityBill
.
sourcepub fn is_bank_statement(&self) -> bool
pub fn is_bank_statement(&self) -> bool
Returns true
if self
is of variant BankStatement
.
sourcepub fn is_rental_agreement(&self) -> bool
pub fn is_rental_agreement(&self) -> bool
Returns true
if self
is of variant RentalAgreement
.
sourcepub fn is_passport_registration(&self) -> bool
pub fn is_passport_registration(&self) -> bool
Returns true
if self
is of variant PassportRegistration
.
sourcepub fn is_temporary_registration(&self) -> bool
pub fn is_temporary_registration(&self) -> bool
Returns true
if self
is of variant TemporaryRegistration
.
sourcepub fn is_phone_number(&self) -> bool
pub fn is_phone_number(&self) -> bool
Returns true
if self
is of variant PhoneNumber
.