pub enum UserMfaMethodsItem {
PasskeyMfaMethod(PasskeyMfaMethod),
SmsMfaMethod(SmsMfaMethod),
TotpMfaMethod(TotpMfaMethod),
}Expand description
UserMfaMethodsItem
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/PasskeyMfaMethod"
},
{
"$ref": "#/components/schemas/SmsMfaMethod"
},
{
"$ref": "#/components/schemas/TotpMfaMethod"
}
]
}Variants§
Trait Implementations§
Source§impl Clone for UserMfaMethodsItem
impl Clone for UserMfaMethodsItem
Source§fn clone(&self) -> UserMfaMethodsItem
fn clone(&self) -> UserMfaMethodsItem
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 UserMfaMethodsItem
impl Debug for UserMfaMethodsItem
Source§impl<'de> Deserialize<'de> for UserMfaMethodsItem
impl<'de> Deserialize<'de> for UserMfaMethodsItem
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<&UserMfaMethodsItem> for UserMfaMethodsItem
impl From<&UserMfaMethodsItem> for UserMfaMethodsItem
Source§fn from(value: &UserMfaMethodsItem) -> Self
fn from(value: &UserMfaMethodsItem) -> Self
Converts to this type from the input type.
Source§impl From<PasskeyMfaMethod> for UserMfaMethodsItem
impl From<PasskeyMfaMethod> for UserMfaMethodsItem
Source§fn from(value: PasskeyMfaMethod) -> Self
fn from(value: PasskeyMfaMethod) -> Self
Converts to this type from the input type.
Source§impl From<SmsMfaMethod> for UserMfaMethodsItem
impl From<SmsMfaMethod> for UserMfaMethodsItem
Source§fn from(value: SmsMfaMethod) -> Self
fn from(value: SmsMfaMethod) -> 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 UserMfaMethodsItem
impl RefUnwindSafe for UserMfaMethodsItem
impl Send for UserMfaMethodsItem
impl Sync for UserMfaMethodsItem
impl Unpin for UserMfaMethodsItem
impl UnwindSafe for UserMfaMethodsItem
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