Struct steamr::games::stats::PlayerStats
source · pub struct PlayerStats {
pub game_name: String,
pub achievements: Vec<Achievement>,
pub stats: Vec<Stat>,
}
Expand description
This struct holds the player statistics.
Fields§
§game_name: String
Name of the game
achievements: Vec<Achievement>
List of achievements
stats: Vec<Stat>
List of other stats
Trait Implementations§
source§impl Debug for PlayerStats
impl Debug for PlayerStats
source§impl Default for PlayerStats
impl Default for PlayerStats
source§fn default() -> PlayerStats
fn default() -> PlayerStats
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PlayerStats
impl<'de> Deserialize<'de> for PlayerStats
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
Auto Trait Implementations§
impl Freeze for PlayerStats
impl RefUnwindSafe for PlayerStats
impl Send for PlayerStats
impl Sync for PlayerStats
impl Unpin for PlayerStats
impl UnwindSafe for PlayerStats
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