1 2 3 4 5 6
/// Auth user model contracts pub trait AuthUser { fn id(&self) -> String; fn email(&self) -> &str; fn password_hash(&self) -> &str; }