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

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

The current steps for an incremental achievement.

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

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.

The current steps for an incremental achievement as a string.

The timestamp of the last modification to this achievement's state.

The ID of the achievement.

Trait Implementations

impl Default for PlayerAchievement
[src]

[src]

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

impl Clone for PlayerAchievement
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PlayerAchievement
[src]

[src]

Formats the value using the given formatter.

impl Part for PlayerAchievement
[src]