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