Struct google_games1::PlayerAchievement
[−]
[src]
pub struct PlayerAchievement { pub achievement_state: Option<String>, pub current_steps: Option<i32>, pub kind: Option<String>, pub experience_points: Option<String>, pub formatted_current_steps_string: Option<String>, pub last_updated_timestamp: Option<String>, pub id: Option<String>, }
This is a JSON template for an achievement object.
This type is not used in any activity, and only used as part of another schema.
Fields
achievement_state: Option<String>
The state of the achievement.
Possible values are:
- "HIDDEN" - Achievement is hidden.
- "REVEALED" - Achievement is revealed.
- "UNLOCKED" - Achievement is unlocked.
current_steps: Option<i32>
The current steps for an incremental achievement.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string games#playerAchievement.
experience_points: Option<String>
Experience points earned for the achievement. This field is absent for achievements that have not yet been unlocked and 0 for achievements that have been unlocked by testers but that are unpublished.
formatted_current_steps_string: Option<String>
The current steps for an incremental achievement as a string.
last_updated_timestamp: Option<String>
The timestamp of the last modification to this achievement's state.
id: Option<String>
The ID of the achievement.
Trait Implementations
impl Debug for PlayerAchievement
[src]
impl Clone for PlayerAchievement
[src]
fn clone(&self) -> PlayerAchievement
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 PlayerAchievement
[src]
fn default() -> PlayerAchievement
Returns the "default value" for a type. Read more