pub struct SetRecoveryEmailAddress {
pub password: String,
pub new_recovery_email_address: String,
}
Expand description
Changes the recovery email address of the user. If a new recovery email address is specified, then the error EMAIL_UNCONFIRMED is returned and the email address will not be changed until the new email has been confirmed. The application should periodically call getPasswordState to check whether the email address has been 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
Fields§
§password: String
Password of the current user
new_recovery_email_address: String
New recovery email address
Trait Implementations§
Source§impl Clone for SetRecoveryEmailAddress
impl Clone for SetRecoveryEmailAddress
Source§fn clone(&self) -> SetRecoveryEmailAddress
fn clone(&self) -> SetRecoveryEmailAddress
Returns a duplicate 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<'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
Source§impl Method for SetRecoveryEmailAddress
impl Method for SetRecoveryEmailAddress
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