[][src]Struct cms_tools::User

pub struct User {
    pub username: String,
    pub mail_hash: String,
    pub first_name: String,
    pub last_name: String,
    pub institute: Institute,
    pub tasks_solved: i32,
    pub access_level: u8,
    pub join_date: f64,
    pub score: u32,
    pub global_access_level: u8,
    pub scores: Option<Vec<Score>>,
}

User info

Fields

username: Stringmail_hash: Stringfirst_name: Stringlast_name: Stringinstitute: Institutetasks_solved: i32access_level: u8join_date: f64score: u32global_access_level: u8scores: Option<Vec<Score>>

Trait Implementations

impl Clone for User[src]

impl Debug for User[src]

impl Serialize for User[src]

impl<'de> Deserialize<'de> for User[src]

Auto Trait Implementations

impl Send for User

impl Sync for User

impl Unpin for User

impl UnwindSafe for User

impl RefUnwindSafe for User

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err