[][src]Struct rtdlib::types::PasswordState

pub struct PasswordState { /* fields omitted */ }

Represents the current state of 2-step verification

Implementations

impl PasswordState[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDPasswordStateBuilder[src]

pub fn has_password(&self) -> bool[src]

pub fn password_hint(&self) -> &String[src]

pub fn has_recovery_email_address(&self) -> bool[src]

pub fn has_passport_data(&self) -> bool[src]

pub fn recovery_email_address_code_info(
    &self
) -> &Option<EmailAddressAuthenticationCodeInfo>
[src]

Trait Implementations

impl AsRef<PasswordState> for PasswordState[src]

impl Clone for PasswordState[src]

impl Debug for PasswordState[src]

impl Default for PasswordState[src]

impl<'de> Deserialize<'de> for PasswordState[src]

impl RObject for PasswordState[src]

impl Serialize for PasswordState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.