[][src]Struct nanowrimo::data::UserData

pub struct UserData {
    pub admin_level: AdminLevel,
    pub avatar: Option<String>,
    pub bio: Option<String>,
    pub confirmed_at: DateTime<Utc>,
    pub created_at: DateTime<Utc>,
    pub discourse_username: Option<String>,
    pub email: Option<String>,
    pub email_settings: Option<EmailSettings>,
    pub halo: bool,
    pub laurels: u64,
    pub location: Option<String>,
    pub name: String,
    pub notification_settings: Option<NotificationSettings>,
    pub notifications_viewed_at: DateTime<Utc>,
    pub plate: Option<String>,
    pub postal_code: Option<String>,
    pub privacy_settings: Option<PrivacySettings>,
    pub registration_path: RegistrationPath,
    pub setting_session_count_by_session: u8,
    pub setting_session_more_info: bool,
    pub slug: String,
    pub stats: StatsInfo,
    pub time_zone: String,
}

Fields

admin_level: AdminLevelavatar: Option<String>bio: Option<String>confirmed_at: DateTime<Utc>created_at: DateTime<Utc>discourse_username: Option<String>email: Option<String>email_settings: Option<EmailSettings>halo: boollaurels: u64location: Option<String>name: Stringnotification_settings: Option<NotificationSettings>notifications_viewed_at: DateTime<Utc>plate: Option<String>postal_code: Option<String>privacy_settings: Option<PrivacySettings>registration_path: RegistrationPathsetting_session_count_by_session: u8setting_session_more_info: boolslug: Stringstats: StatsInfotime_zone: String

Trait Implementations

impl Debug 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: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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.