pub struct MfaConfig {
pub totp_issuer: String,
pub totp_period: u32,
pub totp_digits: u32,
pub webauthn_rp_id: String,
pub webauthn_rp_name: String,
pub webauthn_origin: String,
}Fields§
§totp_issuer: StringTOTP issuer name
totp_period: u32TOTP period (seconds)
totp_digits: u32TOTP digits
webauthn_rp_id: StringWebAuthn RP ID
webauthn_rp_name: StringWebAuthn RP name
webauthn_origin: StringWebAuthn origin
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MfaConfig
impl<'de> Deserialize<'de> for MfaConfig
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 MfaConfig
impl RefUnwindSafe for MfaConfig
impl Send for MfaConfig
impl Sync for MfaConfig
impl Unpin for MfaConfig
impl UnwindSafe for MfaConfig
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