pub struct PlayerScoreResetResponse {
pub definition_id: Option<String>,
pub kind: Option<String>,
pub reset_score_time_spans: Option<Vec<String>>,
}
Expand description
A list of reset leaderboard entry resources.
§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).
- reset scores (response)
Fields§
§definition_id: Option<String>
The ID of an leaderboard for which player state has been updated.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#playerScoreResetResponse
.
reset_score_time_spans: Option<Vec<String>>
The time spans of the updated score. Possible values are: - “ALL_TIME
” - The score is an all-time score. - “WEEKLY
” - The score is a weekly score. - “DAILY
” - The score is a daily score.
Trait Implementations§
source§impl Clone for PlayerScoreResetResponse
impl Clone for PlayerScoreResetResponse
source§fn clone(&self) -> PlayerScoreResetResponse
fn clone(&self) -> PlayerScoreResetResponse
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 PlayerScoreResetResponse
impl Debug for PlayerScoreResetResponse
source§impl Default for PlayerScoreResetResponse
impl Default for PlayerScoreResetResponse
source§fn default() -> PlayerScoreResetResponse
fn default() -> PlayerScoreResetResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PlayerScoreResetResponse
impl<'de> Deserialize<'de> for PlayerScoreResetResponse
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 PlayerScoreResetResponse
impl Serialize for PlayerScoreResetResponse
impl ResponseResult for PlayerScoreResetResponse
Auto Trait Implementations§
impl RefUnwindSafe for PlayerScoreResetResponse
impl Send for PlayerScoreResetResponse
impl Sync for PlayerScoreResetResponse
impl Unpin for PlayerScoreResetResponse
impl UnwindSafe for PlayerScoreResetResponse
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