[][src]Struct google_games1::AchievementUpdateResponse

pub struct AchievementUpdateResponse {
    pub current_steps: Option<i32>,
    pub newly_unlocked: Option<bool>,
    pub kind: Option<String>,
    pub achievement_id: Option<String>,
    pub update_occurred: Option<bool>,
    pub current_state: Option<String>,
}

An updated achievement.

This type is not used in any activity, and only used as part of another schema.

Fields

current_steps: Option<i32>

The current steps recorded for this achievement if it is incremental.

newly_unlocked: Option<bool>

Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).

kind: Option<String>

Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateResponse.

achievement_id: Option<String>

The achievement this update is was applied to.

update_occurred: Option<bool>

Whether the requested updates actually affected the achievement.

current_state: Option<String>

The current state of the achievement.

Trait Implementations

impl Clone for AchievementUpdateResponse[src]

impl Debug for AchievementUpdateResponse[src]

impl Default for AchievementUpdateResponse[src]

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

impl Part for AchievementUpdateResponse[src]

impl Serialize for AchievementUpdateResponse[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> 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> Typeable for T where
    T: Any