auth

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§