auth::user_info

Trait UserInfo

Source
pub trait UserInfo:
    Debug
    + Sync
    + Send {
    // Required methods
    fn as_any(&self) -> &dyn Any;
    fn username(&self) -> &str;
}

Required Methods§

Source

fn as_any(&self) -> &dyn Any

Source

fn username(&self) -> &str

Implementors§