Struct rust_tdlib::types::RecoverAuthenticationPassword
source · pub struct RecoverAuthenticationPassword { /* private fields */ }
Expand description
Recovers the password with a password recovery code sent to an email address that was previously set up. Works only when the current authorization state is authorizationStateWaitPassword
Implementations§
Trait Implementations§
source§impl AsRef<RecoverAuthenticationPassword> for RecoverAuthenticationPassword
impl AsRef<RecoverAuthenticationPassword> for RecoverAuthenticationPassword
source§fn as_ref(&self) -> &RecoverAuthenticationPassword
fn as_ref(&self) -> &RecoverAuthenticationPassword
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for RecoverAuthenticationPassword
impl Clone for RecoverAuthenticationPassword
source§fn clone(&self) -> RecoverAuthenticationPassword
fn clone(&self) -> RecoverAuthenticationPassword
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for RecoverAuthenticationPassword
impl Default for RecoverAuthenticationPassword
source§fn default() -> RecoverAuthenticationPassword
fn default() -> RecoverAuthenticationPassword
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RecoverAuthenticationPassword
impl<'de> Deserialize<'de> for RecoverAuthenticationPassword
source§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