pub struct PlayerAchievement {
pub achievement_state: Option<String>,
pub current_steps: Option<i32>,
pub experience_points: Option<i64>,
pub formatted_current_steps_string: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub last_updated_timestamp: Option<i64>,
}Expand description
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.
current_steps: Option<i32>The current steps for an incremental achievement.
experience_points: Option<i64>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.
id: Option<String>The ID of the achievement.
kind: Option<String>Uniquely identifies the type of this resource. Value is always the fixed string games#playerAchievement.
last_updated_timestamp: Option<i64>The timestamp of the last modification to this achievement’s state.
Trait Implementations§
Source§impl Clone for PlayerAchievement
impl Clone for PlayerAchievement
Source§fn clone(&self) -> PlayerAchievement
fn clone(&self) -> PlayerAchievement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayerAchievement
impl Debug for PlayerAchievement
Source§impl Default for PlayerAchievement
impl Default for PlayerAchievement
Source§fn default() -> PlayerAchievement
fn default() -> PlayerAchievement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlayerAchievement
impl<'de> Deserialize<'de> for PlayerAchievement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PlayerAchievement
impl Serialize for PlayerAchievement
impl Part for PlayerAchievement
Auto Trait Implementations§
impl Freeze for PlayerAchievement
impl RefUnwindSafe for PlayerAchievement
impl Send for PlayerAchievement
impl Sync for PlayerAchievement
impl Unpin for PlayerAchievement
impl UnwindSafe for PlayerAchievement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more