pub struct RecoverPassword {
pub recovery_code: String,
}
Expand description
Recovers the password using a recovery code sent to an email address that was previously set up
Fields§
§recovery_code: String
Recovery code to check
Trait Implementations§
Source§impl Clone for RecoverPassword
impl Clone for RecoverPassword
Source§fn clone(&self) -> RecoverPassword
fn clone(&self) -> RecoverPassword
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 RecoverPassword
impl Debug for RecoverPassword
Source§impl<'de> Deserialize<'de> for RecoverPassword
impl<'de> Deserialize<'de> for RecoverPassword
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 RecoverPassword
impl Method for RecoverPassword
Auto Trait Implementations§
impl Freeze for RecoverPassword
impl RefUnwindSafe for RecoverPassword
impl Send for RecoverPassword
impl Sync for RecoverPassword
impl Unpin for RecoverPassword
impl UnwindSafe for RecoverPassword
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