Struct tdlib_types::methods::RecoverPassword
source · 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
sourceimpl Clone for RecoverPassword
impl Clone for RecoverPassword
sourcefn clone(&self) -> RecoverPassword
fn clone(&self) -> RecoverPassword
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 moresourceimpl Debug for RecoverPassword
impl Debug for RecoverPassword
sourceimpl<'de> Deserialize<'de> for RecoverPassword
impl<'de> Deserialize<'de> for RecoverPassword
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 Method for RecoverPassword
impl Method for RecoverPassword
const TYPE: &'static str = "recoverPassword"
type Response = PasswordState
fn tag(self) -> MethodType<Self>where
Self: Sized,
sourceimpl Serialize for RecoverPassword
impl Serialize for RecoverPassword
Auto Trait Implementations
impl RefUnwindSafe for RecoverPassword
impl Send for RecoverPassword
impl Sync for RecoverPassword
impl Unpin for RecoverPassword
impl UnwindSafe for RecoverPassword
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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