pub struct TOTP {
pub label: String,
pub issuer: Option<String>,
pub period: u64,
pub digits: u32,
pub algorithm: TOTPAlgorithm,
/* private fields */
}Expand description
Time-based one time password settings
Fields§
§label: String§issuer: Option<String>§period: u64§digits: u32§algorithm: TOTPAlgorithmImplementations§
Trait Implementations§
impl Eq for TOTP
impl StructuralPartialEq for TOTP
Auto Trait Implementations§
impl Freeze for TOTP
impl RefUnwindSafe for TOTP
impl Send for TOTP
impl Sync for TOTP
impl Unpin for TOTP
impl UnsafeUnpin for TOTP
impl UnwindSafe for TOTP
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