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
sourceimpl AsRef<SetRecoveryEmailAddress> for SetRecoveryEmailAddress
impl AsRef<SetRecoveryEmailAddress> for SetRecoveryEmailAddress
sourcefn as_ref(&self) -> &SetRecoveryEmailAddress
fn as_ref(&self) -> &SetRecoveryEmailAddress
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for SetRecoveryEmailAddress
impl Clone for SetRecoveryEmailAddress
sourcefn clone(&self) -> SetRecoveryEmailAddress
fn clone(&self) -> SetRecoveryEmailAddress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SetRecoveryEmailAddress
impl Debug for SetRecoveryEmailAddress
sourceimpl Default for SetRecoveryEmailAddress
impl Default for SetRecoveryEmailAddress
sourcefn default() -> SetRecoveryEmailAddress
fn default() -> SetRecoveryEmailAddress
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SetRecoveryEmailAddress
impl<'de> Deserialize<'de> for SetRecoveryEmailAddress
sourcefn 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
sourceimpl Serialize for SetRecoveryEmailAddress
impl Serialize for SetRecoveryEmailAddress
Auto Trait Implementations
impl RefUnwindSafe for SetRecoveryEmailAddress
impl Send for SetRecoveryEmailAddress
impl Sync for SetRecoveryEmailAddress
impl Unpin for SetRecoveryEmailAddress
impl UnwindSafe for SetRecoveryEmailAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more