Struct tozny_auth::user::User [-] [+] [src]

pub struct User {
    pub id: UserId,
    pub logins: isize,
}

Information associated with a Tozny user. This struct should be expanded in the future.

Fields

id
logins

Trait Implementations

Derived Implementations

impl Encodable for User

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Decodable for User

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<User, Error>

impl Debug for User

fn fmt(&self, __arg_0: &mut Formatter) -> Result