Struct t_rust_less_lib::otp::OTPAuthUrl[][src]

pub struct OTPAuthUrl {
    pub otp_type: OTPType,
    pub algorithm: OTPAlgorithm,
    pub digits: u8,
    pub account_name: String,
    pub issuer: Option<String>,
    pub secret: OTPSecret,
}

Fields

otp_type: OTPTypealgorithm: OTPAlgorithmdigits: u8account_name: Stringissuer: Option<String>secret: OTPSecret

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.