Struct tdlib::types::AuthorizationStateWaitPassword
source · [−]pub struct AuthorizationStateWaitPassword {
pub password_hint: String,
pub has_recovery_email_address: bool,
pub recovery_email_address_pattern: String,
}
Expand description
The user has been authorized, but needs to enter a password to start using the application
Fields
password_hint: String
Hint for the password; may be empty
has_recovery_email_address: bool
True, if a recovery email address has been set up
recovery_email_address_pattern: String
Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent
Trait Implementations
sourceimpl Clone for AuthorizationStateWaitPassword
impl Clone for AuthorizationStateWaitPassword
sourcefn clone(&self) -> AuthorizationStateWaitPassword
fn clone(&self) -> AuthorizationStateWaitPassword
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 more
sourceimpl Default for AuthorizationStateWaitPassword
impl Default for AuthorizationStateWaitPassword
sourcefn default() -> AuthorizationStateWaitPassword
fn default() -> AuthorizationStateWaitPassword
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AuthorizationStateWaitPassword
impl<'de> Deserialize<'de> for AuthorizationStateWaitPassword
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 PartialEq<AuthorizationStateWaitPassword> for AuthorizationStateWaitPassword
impl PartialEq<AuthorizationStateWaitPassword> for AuthorizationStateWaitPassword
sourcefn eq(&self, other: &AuthorizationStateWaitPassword) -> bool
fn eq(&self, other: &AuthorizationStateWaitPassword) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AuthorizationStateWaitPassword) -> bool
fn ne(&self, other: &AuthorizationStateWaitPassword) -> bool
This method tests for !=
.
impl StructuralPartialEq for AuthorizationStateWaitPassword
Auto Trait Implementations
impl RefUnwindSafe for AuthorizationStateWaitPassword
impl Send for AuthorizationStateWaitPassword
impl Sync for AuthorizationStateWaitPassword
impl Unpin for AuthorizationStateWaitPassword
impl UnwindSafe for AuthorizationStateWaitPassword
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more