Struct rust_tdlib::types::SetRecoveryEmailAddress
source · pub struct SetRecoveryEmailAddress { /* private fields */ }
Expand description
Changes the 2-step verification recovery email address of the user. If a new recovery email address is specified, then the change will not be applied until the new recovery email address is confirmed. If new_recovery_email_address is the same as the email address that is currently set up, this call succeeds immediately and aborts all other requests waiting for an email confirmation
Implementations§
Trait Implementations§
source§impl AsRef<SetRecoveryEmailAddress> for SetRecoveryEmailAddress
impl AsRef<SetRecoveryEmailAddress> for SetRecoveryEmailAddress
source§fn as_ref(&self) -> &SetRecoveryEmailAddress
fn as_ref(&self) -> &SetRecoveryEmailAddress
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SetRecoveryEmailAddress
impl Clone for SetRecoveryEmailAddress
source§fn clone(&self) -> SetRecoveryEmailAddress
fn clone(&self) -> SetRecoveryEmailAddress
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 Debug for SetRecoveryEmailAddress
impl Debug for SetRecoveryEmailAddress
source§impl Default for SetRecoveryEmailAddress
impl Default for SetRecoveryEmailAddress
source§fn default() -> SetRecoveryEmailAddress
fn default() -> SetRecoveryEmailAddress
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SetRecoveryEmailAddress
impl<'de> Deserialize<'de> for SetRecoveryEmailAddress
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