pub struct TwoFactorRecoveryCodes {
pub otp: Option<Vec<TwoFactorRecoveryCodesOtpInner>>,
pub requires_two_factor_auth: Option<Vec<String>>,
}Fields§
§otp: Option<Vec<TwoFactorRecoveryCodesOtpInner>>§requires_two_factor_auth: Option<Vec<String>>Implementations§
Source§impl TwoFactorRecoveryCodes
impl TwoFactorRecoveryCodes
pub fn new() -> TwoFactorRecoveryCodes
Trait Implementations§
Source§impl Clone for TwoFactorRecoveryCodes
impl Clone for TwoFactorRecoveryCodes
Source§fn clone(&self) -> TwoFactorRecoveryCodes
fn clone(&self) -> TwoFactorRecoveryCodes
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 TwoFactorRecoveryCodes
impl Debug for TwoFactorRecoveryCodes
Source§impl Default for TwoFactorRecoveryCodes
impl Default for TwoFactorRecoveryCodes
Source§fn default() -> TwoFactorRecoveryCodes
fn default() -> TwoFactorRecoveryCodes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TwoFactorRecoveryCodes
impl<'de> Deserialize<'de> for TwoFactorRecoveryCodes
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 PartialEq for TwoFactorRecoveryCodes
impl PartialEq for TwoFactorRecoveryCodes
Source§impl Serialize for TwoFactorRecoveryCodes
impl Serialize for TwoFactorRecoveryCodes
impl StructuralPartialEq for TwoFactorRecoveryCodes
Auto Trait Implementations§
impl Freeze for TwoFactorRecoveryCodes
impl RefUnwindSafe for TwoFactorRecoveryCodes
impl Send for TwoFactorRecoveryCodes
impl Sync for TwoFactorRecoveryCodes
impl Unpin for TwoFactorRecoveryCodes
impl UnwindSafe for TwoFactorRecoveryCodes
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