pub struct AchievementConfiguration {
pub achievement_type: Option<String>,
pub draft: Option<AchievementConfigurationDetail>,
pub id: Option<String>,
pub initial_state: Option<String>,
pub kind: Option<String>,
pub published: Option<AchievementConfigurationDetail>,
pub steps_to_unlock: Option<i32>,
pub token: Option<String>,
}
Expand description
An achievement configuration resource.
§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).
- delete achievement configurations (none)
- get achievement configurations (response)
- insert achievement configurations (request|response)
- list achievement configurations (none)
- update achievement configurations (request|response)
Fields§
§achievement_type: Option<String>
The type of the achievement.
draft: Option<AchievementConfigurationDetail>
The draft data of the achievement.
id: Option<String>
The ID of the achievement.
initial_state: Option<String>
The initial state of the achievement.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration
.
published: Option<AchievementConfigurationDetail>
The read-only published data of the achievement.
steps_to_unlock: Option<i32>
Steps to unlock. Only applicable to incremental achievements.
token: Option<String>
The token for this resource.
Trait Implementations§
source§impl Clone for AchievementConfiguration
impl Clone for AchievementConfiguration
source§fn clone(&self) -> AchievementConfiguration
fn clone(&self) -> AchievementConfiguration
Returns a copy 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 AchievementConfiguration
impl Debug for AchievementConfiguration
source§impl Default for AchievementConfiguration
impl Default for AchievementConfiguration
source§fn default() -> AchievementConfiguration
fn default() -> AchievementConfiguration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AchievementConfiguration
impl<'de> Deserialize<'de> for AchievementConfiguration
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 AchievementConfiguration
impl Serialize for AchievementConfiguration
impl RequestValue for AchievementConfiguration
impl Resource for AchievementConfiguration
impl ResponseResult for AchievementConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for AchievementConfiguration
impl Send for AchievementConfiguration
impl Sync for AchievementConfiguration
impl Unpin for AchievementConfiguration
impl UnwindSafe for AchievementConfiguration
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