Enum kanidmd_lib::credential::totp::TotpDigits
source · #[repr(u32)]
pub enum TotpDigits {
Six,
Eight,
}
Variants§
Trait Implementations§
source§impl Clone for TotpDigits
impl Clone for TotpDigits
source§fn clone(&self) -> TotpDigits
fn clone(&self) -> TotpDigits
Returns a copy 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 TotpDigits
impl Debug for TotpDigits
source§impl Into<u8> for TotpDigits
impl Into<u8> for TotpDigits
source§impl PartialEq<TotpDigits> for TotpDigits
impl PartialEq<TotpDigits> for TotpDigits
source§fn eq(&self, other: &TotpDigits) -> bool
fn eq(&self, other: &TotpDigits) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.