pub struct TwoFactorConfig {
pub issuer: String,
pub backup_code_count: usize,
pub backup_code_length: usize,
pub totp_period: u64,
pub totp_digits: usize,
}Fields§
§issuer: String§backup_code_count: usize§backup_code_length: usize§totp_period: u64§totp_digits: usizeTrait Implementations§
Source§impl Clone for TwoFactorConfig
impl Clone for TwoFactorConfig
Source§fn clone(&self) -> TwoFactorConfig
fn clone(&self) -> TwoFactorConfig
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 TwoFactorConfig
impl Debug for TwoFactorConfig
Auto Trait Implementations§
impl Freeze for TwoFactorConfig
impl RefUnwindSafe for TwoFactorConfig
impl Send for TwoFactorConfig
impl Sync for TwoFactorConfig
impl Unpin for TwoFactorConfig
impl UnsafeUnpin for TwoFactorConfig
impl UnwindSafe for TwoFactorConfig
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