Struct google_games1::AchievementUnlockResponse
[−]
[src]
pub struct AchievementUnlockResponse { pub newly_unlocked: Option<bool>, pub kind: Option<String>, }
This is a JSON template for an achievement unlock response
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- unlock achievements (response)
Fields
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#achievementUnlockResponse.
Trait Implementations
impl Debug for AchievementUnlockResponse
[src]
impl Clone for AchievementUnlockResponse
[src]
fn clone(&self) -> AchievementUnlockResponse
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 AchievementUnlockResponse
[src]
fn default() -> AchievementUnlockResponse
Returns the "default value" for a type. Read more