Struct google_games1::AchievementUpdateResponse [] [src]

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

This is a JSON template for an achievement update response.

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

Fields

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

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

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

The achievement this update is was applied to.

Whether the requested updates actually affected the achievement.

The current state of the achievement. Possible values are:
- "HIDDEN" - Achievement is hidden. - "REVEALED" - Achievement is revealed. - "UNLOCKED" - Achievement is unlocked.

Trait Implementations

impl Default for AchievementUpdateResponse
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for AchievementUpdateResponse
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AchievementUpdateResponse
[src]

[src]

Formats the value using the given formatter.

impl Part for AchievementUpdateResponse
[src]