pub struct AchievementIncrementResponse {
pub current_steps: Option<i32>,
pub kind: Option<String>,
pub newly_unlocked: Option<bool>,
}Expand description
An achievement increment 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).
- increment achievements (response)
Fields§
§current_steps: Option<i32>The current steps recorded for this incremental achievement.
kind: Option<String>Uniquely identifies the type of this resource. Value is always the fixed string games#achievementIncrementResponse.
newly_unlocked: Option<bool>Whether the current steps for the achievement has reached the number of steps required to unlock.
Trait Implementations§
Source§impl Clone for AchievementIncrementResponse
impl Clone for AchievementIncrementResponse
Source§fn clone(&self) -> AchievementIncrementResponse
fn clone(&self) -> AchievementIncrementResponse
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 AchievementIncrementResponse
impl Debug for AchievementIncrementResponse
Source§impl Default for AchievementIncrementResponse
impl Default for AchievementIncrementResponse
Source§fn default() -> AchievementIncrementResponse
fn default() -> AchievementIncrementResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AchievementIncrementResponse
impl<'de> Deserialize<'de> for AchievementIncrementResponse
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
impl ResponseResult for AchievementIncrementResponse
Auto Trait Implementations§
impl Freeze for AchievementIncrementResponse
impl RefUnwindSafe for AchievementIncrementResponse
impl Send for AchievementIncrementResponse
impl Sync for AchievementIncrementResponse
impl Unpin for AchievementIncrementResponse
impl UnwindSafe for AchievementIncrementResponse
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