Struct rtdlib::types::SetAuthenticationPhoneNumber [−][src]
pub struct SetAuthenticationPhoneNumber { /* fields omitted */ }
Expand description
Sets the phone number of the user and sends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitPhoneNumber, or if there is no pending authentication query and the current authorization state is authorizationStateWaitCode or authorizationStateWaitPassword
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
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 Send for SetAuthenticationPhoneNumber
impl Sync for SetAuthenticationPhoneNumber
impl Unpin for SetAuthenticationPhoneNumber
impl UnwindSafe for SetAuthenticationPhoneNumber
Blanket Implementations
Mutably borrows from an owned value. Read more