pub struct TwoFactorAuthenticatorResponseModel {
pub object: Option<String>,
pub enabled: Option<bool>,
pub key: Option<String>,
pub user_verification_token: Option<String>,
}
Fields§
§object: Option<String>
§enabled: Option<bool>
§key: Option<String>
§user_verification_token: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for TwoFactorAuthenticatorResponseModel
impl Clone for TwoFactorAuthenticatorResponseModel
Source§fn clone(&self) -> TwoFactorAuthenticatorResponseModel
fn clone(&self) -> TwoFactorAuthenticatorResponseModel
Returns a copy 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 Default for TwoFactorAuthenticatorResponseModel
impl Default for TwoFactorAuthenticatorResponseModel
Source§fn default() -> TwoFactorAuthenticatorResponseModel
fn default() -> TwoFactorAuthenticatorResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TwoFactorAuthenticatorResponseModel
impl<'de> Deserialize<'de> for TwoFactorAuthenticatorResponseModel
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 TwoFactorAuthenticatorResponseModel
impl PartialEq for TwoFactorAuthenticatorResponseModel
Source§fn eq(&self, other: &TwoFactorAuthenticatorResponseModel) -> bool
fn eq(&self, other: &TwoFactorAuthenticatorResponseModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TwoFactorAuthenticatorResponseModel
Auto Trait Implementations§
impl Freeze for TwoFactorAuthenticatorResponseModel
impl RefUnwindSafe for TwoFactorAuthenticatorResponseModel
impl Send for TwoFactorAuthenticatorResponseModel
impl Sync for TwoFactorAuthenticatorResponseModel
impl Unpin for TwoFactorAuthenticatorResponseModel
impl UnwindSafe for TwoFactorAuthenticatorResponseModel
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