pub struct AchievementUpdateRequest {
pub achievement_id: Option<String>,
pub increment_payload: Option<GamesAchievementIncrement>,
pub kind: Option<String>,
pub set_steps_at_least_payload: Option<GamesAchievementSetStepsAtLeast>,
pub update_type: Option<String>,
}Expand description
A request to update an achievement.
This type is not used in any activity, and only used as part of another schema.
Fields§
§achievement_id: Option<String>The achievement this update is being applied to.
increment_payload: Option<GamesAchievementIncrement>The payload if an update of type INCREMENT was requested for the achievement.
kind: Option<String>Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateRequest.
set_steps_at_least_payload: Option<GamesAchievementSetStepsAtLeast>The payload if an update of type SET_STEPS_AT_LEAST was requested for the achievement.
update_type: Option<String>The type of update being applied.
Trait Implementations§
Source§impl Clone for AchievementUpdateRequest
impl Clone for AchievementUpdateRequest
Source§fn clone(&self) -> AchievementUpdateRequest
fn clone(&self) -> AchievementUpdateRequest
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 AchievementUpdateRequest
impl Debug for AchievementUpdateRequest
Source§impl Default for AchievementUpdateRequest
impl Default for AchievementUpdateRequest
Source§fn default() -> AchievementUpdateRequest
fn default() -> AchievementUpdateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AchievementUpdateRequest
impl<'de> Deserialize<'de> for AchievementUpdateRequest
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 AchievementUpdateRequest
impl Serialize for AchievementUpdateRequest
impl Part for AchievementUpdateRequest
Auto Trait Implementations§
impl Freeze for AchievementUpdateRequest
impl RefUnwindSafe for AchievementUpdateRequest
impl Send for AchievementUpdateRequest
impl Sync for AchievementUpdateRequest
impl Unpin for AchievementUpdateRequest
impl UnwindSafe for AchievementUpdateRequest
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