kvarn_auth::integrations

Struct User

source
pub struct User<T> {
    pub username: CompactString,
    pub email: CompactString,
    pub admin: bool,
    pub data: T,
    pub ctime: DateTime,
    /* private fields */
}
Available on crate feature integration-fs only.

Fields§

§username: CompactString§email: CompactString§admin: bool§data: T§ctime: DateTime

Implementations§

source§

impl<T> User<T>

source

pub fn new_password(&mut self, password: &[u8])