pub struct TotpMfaMethod {
pub type_: TotpMfaMethodType,
pub verified_at: f64,
}Expand description
TotpMfaMethod
JSON schema
{
"title": "TOTP",
"type": "object",
"required": [
"type",
"verified_at"
],
"properties": {
"type": {
"type": "string",
"enum": [
"totp"
]
},
"verified_at": {
"type": "number"
}
}
}Fields§
§type_: TotpMfaMethodType§verified_at: f64Trait Implementations§
Source§impl Clone for TotpMfaMethod
impl Clone for TotpMfaMethod
Source§fn clone(&self) -> TotpMfaMethod
fn clone(&self) -> TotpMfaMethod
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 TotpMfaMethod
impl Debug for TotpMfaMethod
Source§impl<'de> Deserialize<'de> for TotpMfaMethod
impl<'de> Deserialize<'de> for TotpMfaMethod
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 From<&TotpMfaMethod> for TotpMfaMethod
impl From<&TotpMfaMethod> for TotpMfaMethod
Source§fn from(value: &TotpMfaMethod) -> Self
fn from(value: &TotpMfaMethod) -> Self
Converts to this type from the input type.
Source§impl From<TotpMfaMethod> for OAuthLinkResponseBodyMfaMethodsItem
impl From<TotpMfaMethod> for OAuthLinkResponseBodyMfaMethodsItem
Source§fn from(value: TotpMfaMethod) -> Self
fn from(value: TotpMfaMethod) -> Self
Converts to this type from the input type.
Source§impl From<TotpMfaMethod> for UserMfaMethodsItem
impl From<TotpMfaMethod> for UserMfaMethodsItem
Source§fn from(value: TotpMfaMethod) -> Self
fn from(value: TotpMfaMethod) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TotpMfaMethod
impl RefUnwindSafe for TotpMfaMethod
impl Send for TotpMfaMethod
impl Sync for TotpMfaMethod
impl Unpin for TotpMfaMethod
impl UnwindSafe for TotpMfaMethod
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