[][src]Struct libauthenticator::backup::AndOTP

pub struct AndOTP {
    pub secret: String,
    pub issuer: Option<String>,
    pub label: String,
    pub digits: u32,
    pub method: OTPMethod,
    pub algorithm: Algorithm,
    pub thumbnail: String,
    pub last_used: i64,
    pub used_frequency: i32,
    pub counter: Option<u32>,
    pub tags: Vec<String>,
    pub period: Option<u32>,
}

Fields

secret: Stringissuer: Option<String>label: Stringdigits: u32method: OTPMethodalgorithm: Algorithmthumbnail: Stringlast_used: i64used_frequency: i32counter: Option<u32>tags: Vec<String>period: Option<u32>

Trait Implementations

impl Backupable for AndOTP[src]

impl Clone for AndOTP[src]

impl Debug for AndOTP[src]

impl Default for AndOTP[src]

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

impl<'_> From<&'_ Account> for AndOTP[src]

impl From<AndOTP> for Account[src]

impl PartialEq<AndOTP> for AndOTP[src]

impl Restorable for AndOTP[src]

impl Serialize for AndOTP[src]

impl StructuralPartialEq for AndOTP[src]

Auto Trait Implementations

impl RefUnwindSafe for AndOTP

impl Send for AndOTP

impl Sync for AndOTP

impl Unpin for AndOTP

impl UnwindSafe for AndOTP

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, 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.