Trait anansi_core::web::BaseUser
source · pub trait BaseUser: Record<Pk = BigInt> + Send + Sync {
type Name: Display;
type Secret: Display;
// Required methods
fn username(&self) -> &Self::Name;
fn secret(&self) -> &Option<Self::Secret>;
fn is_auth(&self) -> bool;
}