pub enum PassportElementType {
Show 13 variants
PersonalDetails,
Passport,
DriverLicense,
IdentityCard,
InternalPassport,
Address,
UtilityBill,
BankStatement,
RentalAgreement,
PassportRegistration,
TemporaryRegistration,
PhoneNumber,
EmailAddress,
}
Variants§
PersonalDetails
A Telegram Passport element containing the user’s personal details
Passport
A Telegram Passport element containing the user’s passport
DriverLicense
A Telegram Passport element containing the user’s driver license
IdentityCard
A Telegram Passport element containing the user’s identity card
InternalPassport
A Telegram Passport element containing the user’s internal passport
Address
A Telegram Passport element containing the user’s address
UtilityBill
A Telegram Passport element containing the user’s utility bill
BankStatement
A Telegram Passport element containing the user’s bank statement
RentalAgreement
A Telegram Passport element containing the user’s rental agreement
PassportRegistration
A Telegram Passport element containing the registration page of the user’s passport
TemporaryRegistration
A Telegram Passport element containing the user’s temporary registration
PhoneNumber
A Telegram Passport element containing the user’s phone number
EmailAddress
A Telegram Passport element containing the user’s email address
Trait Implementations§
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