pub struct AchievementRevealResponse {
pub current_state: Option<String>,
pub kind: Option<String>,
}Expand description
An achievement reveal 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).
- reveal achievements (response)
Fields§
§current_state: Option<String>The current state of the achievement for which a reveal was attempted. This might be UNLOCKED if the achievement was already unlocked.
kind: Option<String>Uniquely identifies the type of this resource. Value is always the fixed string games#achievementRevealResponse.
Trait Implementations§
Source§impl Clone for AchievementRevealResponse
impl Clone for AchievementRevealResponse
Source§fn clone(&self) -> AchievementRevealResponse
fn clone(&self) -> AchievementRevealResponse
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 AchievementRevealResponse
impl Debug for AchievementRevealResponse
Source§impl Default for AchievementRevealResponse
impl Default for AchievementRevealResponse
Source§fn default() -> AchievementRevealResponse
fn default() -> AchievementRevealResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AchievementRevealResponse
impl<'de> Deserialize<'de> for AchievementRevealResponse
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 AchievementRevealResponse
Auto Trait Implementations§
impl Freeze for AchievementRevealResponse
impl RefUnwindSafe for AchievementRevealResponse
impl Send for AchievementRevealResponse
impl Sync for AchievementRevealResponse
impl Unpin for AchievementRevealResponse
impl UnwindSafe for AchievementRevealResponse
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