pub struct MfaChallengeParams {
pub channel: Option<OtpChannel>,
}Expand description
Parameters for creating an MFA challenge.
Fields§
§channel: Option<OtpChannel>Channel for phone factors (sms or whatsapp). Ignored for TOTP.
Trait Implementations§
Source§impl Clone for MfaChallengeParams
impl Clone for MfaChallengeParams
Source§fn clone(&self) -> MfaChallengeParams
fn clone(&self) -> MfaChallengeParams
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 MfaChallengeParams
impl Debug for MfaChallengeParams
Source§impl Default for MfaChallengeParams
impl Default for MfaChallengeParams
Source§fn default() -> MfaChallengeParams
fn default() -> MfaChallengeParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MfaChallengeParams
impl RefUnwindSafe for MfaChallengeParams
impl Send for MfaChallengeParams
impl Sync for MfaChallengeParams
impl Unpin for MfaChallengeParams
impl UnsafeUnpin for MfaChallengeParams
impl UnwindSafe for MfaChallengeParams
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