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
Auto Trait Implementations§
impl Freeze for SetRecoveryEmailAddress
impl RefUnwindSafe for SetRecoveryEmailAddress
impl Send for SetRecoveryEmailAddress
impl Sync for SetRecoveryEmailAddress
impl Unpin for SetRecoveryEmailAddress
impl UnwindSafe for SetRecoveryEmailAddress
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more