[][src]Struct epitech_api::response::UserData

pub struct UserData {
    pub login: String,
    pub title: String,
    pub internal_email: String,
    pub lastname: String,
    pub firstname: String,
    pub userinfo: UserDataInfo,
    pub referent_used: bool,
    pub picture: String,
    pub picture_fun: Option<String>,
    pub scolaryear: Option<String>,
    pub promo: Option<u32>,
    pub semester: Option<u32>,
    pub location: String,
    pub documents: Option<String>,
    pub userdocs: Option<String>,
    pub shell: Option<String>,
    pub close: bool,
    pub ctime: String,
    pub mtime: String,
    pub id_promo: Option<String>,
    pub id_history: Option<String>,
    pub course_code: Option<String>,
    pub semester_code: Option<String>,
    pub school_id: Option<String>,
    pub school_code: Option<String>,
    pub school_title: Option<String>,
    pub old_id_promo: Option<String>,
    pub old_id_location: Option<String>,
    pub rights: Value,
    pub invited: bool,
    pub studentyear: Option<u32>,
    pub admin: bool,
    pub editable: bool,
    pub groups: Vec<UserDataGroup>,
    pub events: Option<Vec<Value>>,
    pub credits: Option<u32>,
    pub gpa: Option<Vec<UserDataGPA>>,
    pub spice: Option<UserDataSpice>,
    pub nsstat: Option<UserDataNsStat>,
}

Fields

login: Stringtitle: Stringinternal_email: Stringlastname: Stringfirstname: Stringuserinfo: UserDataInforeferent_used: boolpicture: Stringpicture_fun: Option<String>scolaryear: Option<String>promo: Option<u32>semester: Option<u32>location: Stringdocuments: Option<String>userdocs: Option<String>shell: Option<String>close: boolctime: Stringmtime: Stringid_promo: Option<String>id_history: Option<String>course_code: Option<String>semester_code: Option<String>school_id: Option<String>school_code: Option<String>school_title: Option<String>old_id_promo: Option<String>old_id_location: Option<String>rights: Valueinvited: boolstudentyear: Option<u32>admin: booleditable: boolgroups: Vec<UserDataGroup>events: Option<Vec<Value>>credits: Option<u32>gpa: Option<Vec<UserDataGPA>>spice: Option<UserDataSpice>nsstat: Option<UserDataNsStat>

Trait Implementations

impl Clone for UserData[src]

impl Debug for UserData[src]

impl Default for UserData[src]

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

impl Serialize for UserData[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.