pub struct MfaMethodInfo {
pub auth_method_id: String,
pub display: String,
pub is_default: bool,
}Expand description
Detailed information about an MFA method
Fields§
§auth_method_id: StringThe authentication method identifier (e.g., “PhoneAppNotification”, “PhoneAppOTP”)
display: StringHuman-readable display name for the method (e.g., phone number for SMS)
is_default: boolWhether this is the default/preferred method
Trait Implementations§
Source§impl Clone for MfaMethodInfo
impl Clone for MfaMethodInfo
Source§fn clone(&self) -> MfaMethodInfo
fn clone(&self) -> MfaMethodInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MfaMethodInfo
impl Debug for MfaMethodInfo
Source§impl<'de> Deserialize<'de> for MfaMethodInfo
impl<'de> Deserialize<'de> for MfaMethodInfo
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
Auto Trait Implementations§
impl Freeze for MfaMethodInfo
impl RefUnwindSafe for MfaMethodInfo
impl Send for MfaMethodInfo
impl Sync for MfaMethodInfo
impl Unpin for MfaMethodInfo
impl UnsafeUnpin for MfaMethodInfo
impl UnwindSafe for MfaMethodInfo
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