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<TotpMfaMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TotpMfaMethod, <__D as Deserializer<'de>>::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) -> TotpMfaMethod
fn from(value: &TotpMfaMethod) -> TotpMfaMethod
Converts to this type from the input type.
Source§impl From<TotpMfaMethod> for OAuthLinkResponseBodyMfaMethodsItem
impl From<TotpMfaMethod> for OAuthLinkResponseBodyMfaMethodsItem
Source§fn from(value: TotpMfaMethod) -> OAuthLinkResponseBodyMfaMethodsItem
fn from(value: TotpMfaMethod) -> OAuthLinkResponseBodyMfaMethodsItem
Converts to this type from the input type.
Source§impl From<TotpMfaMethod> for UserMfaMethodsItem
impl From<TotpMfaMethod> for UserMfaMethodsItem
Source§fn from(value: TotpMfaMethod) -> UserMfaMethodsItem
fn from(value: TotpMfaMethod) -> UserMfaMethodsItem
Converts to this type from the input type.
Source§impl Serialize for TotpMfaMethod
impl Serialize for TotpMfaMethod
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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