Enum rust_tdlib::types::PassportElementType
source · pub enum PassportElementType {
Show 13 variants
Address(PassportElementTypeAddress),
BankStatement(PassportElementTypeBankStatement),
DriverLicense(PassportElementTypeDriverLicense),
EmailAddress(PassportElementTypeEmailAddress),
IdentityCard(PassportElementTypeIdentityCard),
InternalPassport(PassportElementTypeInternalPassport),
Passport(PassportElementTypePassport),
PassportRegistration(PassportElementTypePassportRegistration),
PersonalDetails(PassportElementTypePersonalDetails),
PhoneNumber(PassportElementTypePhoneNumber),
RentalAgreement(PassportElementTypeRentalAgreement),
TemporaryRegistration(PassportElementTypeTemporaryRegistration),
UtilityBill(PassportElementTypeUtilityBill),
// some variants omitted
}
Expand description
Contains the type of a Telegram Passport element
Variants§
Address(PassportElementTypeAddress)
A Telegram Passport element containing the user’s address
BankStatement(PassportElementTypeBankStatement)
A Telegram Passport element containing the user’s bank statement
DriverLicense(PassportElementTypeDriverLicense)
A Telegram Passport element containing the user’s driver license
EmailAddress(PassportElementTypeEmailAddress)
A Telegram Passport element containing the user’s email address
IdentityCard(PassportElementTypeIdentityCard)
A Telegram Passport element containing the user’s identity card
InternalPassport(PassportElementTypeInternalPassport)
A Telegram Passport element containing the user’s internal passport
Passport(PassportElementTypePassport)
A Telegram Passport element containing the user’s passport
PassportRegistration(PassportElementTypePassportRegistration)
A Telegram Passport element containing the registration page of the user’s passport
PersonalDetails(PassportElementTypePersonalDetails)
A Telegram Passport element containing the user’s personal details
PhoneNumber(PassportElementTypePhoneNumber)
A Telegram Passport element containing the user’s phone number
RentalAgreement(PassportElementTypeRentalAgreement)
A Telegram Passport element containing the user’s rental agreement
TemporaryRegistration(PassportElementTypeTemporaryRegistration)
A Telegram Passport element containing the user’s temporary registration
UtilityBill(PassportElementTypeUtilityBill)
A Telegram Passport element containing the user’s utility bill
Implementations§
Trait Implementations§
source§impl AsRef<PassportElementType> for PassportElementType
impl AsRef<PassportElementType> for PassportElementType
source§fn as_ref(&self) -> &PassportElementType
fn as_ref(&self) -> &PassportElementType
source§impl Clone for PassportElementType
impl Clone for PassportElementType
source§fn clone(&self) -> PassportElementType
fn clone(&self) -> PassportElementType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more