[][src]Enum libauthenticator::OTPMethod

pub enum OTPMethod {
    HOTP,
    TOTP,
    Steam,
}

Variants

HOTP
TOTP
Steam

Trait Implementations

impl Clone for OTPMethod[src]

impl Copy for OTPMethod[src]

impl Debug for OTPMethod[src]

impl Default for OTPMethod[src]

impl<'de> Deserialize<'de> for OTPMethod[src]

impl Display for OTPMethod[src]

impl Eq for OTPMethod[src]

impl FromStr for OTPMethod[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<OTPMethod> for OTPMethod[src]

impl Serialize for OTPMethod[src]

impl StructuralEq for OTPMethod[src]

impl StructuralPartialEq for OTPMethod[src]

Auto Trait Implementations

impl RefUnwindSafe for OTPMethod

impl Send for OTPMethod

impl Sync for OTPMethod

impl Unpin for OTPMethod

impl UnwindSafe for OTPMethod

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.