Enum rust_tdlib::types::AuthenticationCodeType [−][src]
pub enum AuthenticationCodeType {
Call(AuthenticationCodeTypeCall),
FlashCall(AuthenticationCodeTypeFlashCall),
Sms(AuthenticationCodeTypeSms),
TelegramMessage(AuthenticationCodeTypeTelegramMessage),
// some variants omitted
}Expand description
Provides information about the method by which an authentication code is delivered to the user
Variants
An authentication code is delivered via a phone call to the specified phone number
FlashCall(AuthenticationCodeTypeFlashCall)An authentication code is delivered by an immediately cancelled call to the specified phone number. The number from which the call was made is the code
An authentication code is delivered via an SMS message to the specified phone number
TelegramMessage(AuthenticationCodeTypeTelegramMessage)An authentication code is delivered via a private Telegram message, which can be viewed from another active session
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AuthenticationCodeTypeimpl Send for AuthenticationCodeTypeimpl Sync for AuthenticationCodeTypeimpl Unpin for AuthenticationCodeTypeimpl UnwindSafe for AuthenticationCodeTypeBlanket Implementations
Mutably borrows from an owned value. Read more