Skip to main content

AuthTwoFactorMeta

Trait AuthTwoFactorMeta 

Source
pub trait AuthTwoFactorMeta {
    // Provided methods
    fn table() -> &'static str { ... }
    fn col_id() -> &'static str { ... }
    fn col_secret() -> &'static str { ... }
    fn col_backup_codes() -> &'static str { ... }
    fn col_user_id() -> &'static str { ... }
    fn col_created_at() -> &'static str { ... }
    fn col_updated_at() -> &'static str { ... }
}
Expand description

SQL column/table metadata for AuthTwoFactor entities.

Provided Methods§

Source

fn table() -> &'static str

Source

fn col_id() -> &'static str

Source

fn col_secret() -> &'static str

Source

fn col_backup_codes() -> &'static str

Source

fn col_user_id() -> &'static str

Source

fn col_created_at() -> &'static str

Source

fn col_updated_at() -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§