pub struct MfaProps {
pub enabled: bool,
pub is_preferred: bool,
pub mfa_type: String,
pub secret: Option<String>,
pub country_code: Option<String>,
pub url: Option<String>,
pub recovery_codes: Option<Vec<String>>,
}
Fields§
§enabled: bool
§is_preferred: bool
§mfa_type: String
§secret: Option<String>
§country_code: Option<String>
§url: Option<String>
§recovery_codes: Option<Vec<String>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MfaProps
impl<'de> Deserialize<'de> for MfaProps
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 MfaProps
impl RefUnwindSafe for MfaProps
impl Send for MfaProps
impl Sync for MfaProps
impl Unpin for MfaProps
impl UnwindSafe for MfaProps
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