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
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.
Possible values are:
- "HIDDEN" - Achievement is hidden.
- "REVEALED" - Achievement is revealed.
- "UNLOCKED" - Achievement is unlocked.
Trait Implementations
impl Debug for AchievementUpdateResponse
[src]
impl Clone for AchievementUpdateResponse
[src]
fn clone(&self) -> AchievementUpdateResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for AchievementUpdateResponse
[src]
fn default() -> AchievementUpdateResponse
Returns the "default value" for a type. Read more