Struct rust_tdlib::types::SetRecoveryEmailAddress [−][src]
pub struct SetRecoveryEmailAddress { /* fields omitted */ }
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
impl AsRef<SetRecoveryEmailAddress> for SetRecoveryEmailAddress
[src]
impl AsRef<SetRecoveryEmailAddress> for SetRecoveryEmailAddress
[src]fn as_ref(&self) -> &SetRecoveryEmailAddress
[src]
fn as_ref(&self) -> &SetRecoveryEmailAddress
[src]Performs the conversion.
impl Clone for SetRecoveryEmailAddress
[src]
impl Clone for SetRecoveryEmailAddress
[src]fn clone(&self) -> SetRecoveryEmailAddress
[src]
fn clone(&self) -> SetRecoveryEmailAddress
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for SetRecoveryEmailAddress
[src]
impl Debug for SetRecoveryEmailAddress
[src]impl Default for SetRecoveryEmailAddress
[src]
impl Default for SetRecoveryEmailAddress
[src]fn default() -> SetRecoveryEmailAddress
[src]
fn default() -> SetRecoveryEmailAddress
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for SetRecoveryEmailAddress
[src]
impl<'de> Deserialize<'de> for SetRecoveryEmailAddress
[src]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
impl Serialize for SetRecoveryEmailAddress
[src]
impl Serialize for SetRecoveryEmailAddress
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,