Enum rust_tdlib::types::PassportElementType [−][src]
pub enum PassportElementType {}Show 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
Performs the conversion.
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
Auto Trait Implementations
impl RefUnwindSafe for PassportElementType
impl Send for PassportElementType
impl Sync for PassportElementType
impl Unpin for PassportElementType
impl UnwindSafe for PassportElementType
Blanket Implementations
Mutably borrows from an owned value. Read more