pub struct PlayerScore {
pub formatted_score: Option<String>,
pub kind: Option<String>,
pub score: Option<i64>,
pub score_tag: Option<String>,
pub time_span: Option<String>,
}Expand description
A player score.
This type is not used in any activity, and only used as part of another schema.
Fields§
§formatted_score: Option<String>The formatted score for this player score.
kind: Option<String>Uniquely identifies the type of this resource. Value is always the fixed string games#playerScore.
score: Option<i64>The numerical value for this player score.
score_tag: Option<String>Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.
time_span: Option<String>The time span for this player score.
Trait Implementations§
Source§impl Clone for PlayerScore
impl Clone for PlayerScore
Source§fn clone(&self) -> PlayerScore
fn clone(&self) -> PlayerScore
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 PlayerScore
impl Debug for PlayerScore
Source§impl Default for PlayerScore
impl Default for PlayerScore
Source§fn default() -> PlayerScore
fn default() -> PlayerScore
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlayerScore
impl<'de> Deserialize<'de> for PlayerScore
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 PlayerScore
impl Serialize for PlayerScore
impl Part for PlayerScore
Auto Trait Implementations§
impl Freeze for PlayerScore
impl RefUnwindSafe for PlayerScore
impl Send for PlayerScore
impl Sync for PlayerScore
impl Unpin for PlayerScore
impl UnwindSafe for PlayerScore
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