pub enum OtpMode {
SixDigits,
EightDigits,
}
Expand description
Modes for one-time password generation.
Variants
SixDigits
Generate one-time passwords with six digits.
EightDigits
Generate one-time passwords with eight digits.
Trait Implementations
impl StructuralPartialEq for OtpMode
Auto Trait Implementations
impl RefUnwindSafe for OtpMode
impl Send for OtpMode
impl Sync for OtpMode
impl Unpin for OtpMode
impl UnwindSafe for OtpMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more