[][src]Struct gog::gog::UserData

pub struct UserData {
    pub country: String,
    pub currencies: Vec<CurrencyInfo>,
    pub selected_currency: CurrencyInfo,
    pub preferred_language: LanguageInfo,
    pub rating_brand: String,
    pub is_logged_in: bool,
    pub checksum: Checksum,
    pub updates: Updates,
    pub user_id: String,
    pub username: String,
    pub email: String,
    pub personalized_product_prices: Vec<Map<String, Value>>,
    pub personalized_series_prices: Vec<Map<String, Value>>,
}

Data on the currently logged-in user

Fields

country: Stringcurrencies: Vec<CurrencyInfo>selected_currency: CurrencyInfopreferred_language: LanguageInforating_brand: Stringis_logged_in: boolchecksum: Checksumupdates: Updatesuser_id: Stringusername: Stringemail: Stringpersonalized_product_prices: Vec<Map<String, Value>>personalized_series_prices: Vec<Map<String, Value>>

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, 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.

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

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