pub struct Game {
pub app_id: u64,
pub name: String,
pub playtime_forever: u64,
pub playtime_windows_forever: u64,
pub playtime_mac_forever: u64,
pub playtime_linux_forever: u64,
}
Expand description
Represents a game and its metadata.
Fields§
§app_id: u64
Game ID
name: String
Name of the game
playtime_forever: u64
Total playtime in minutes
playtime_windows_forever: u64
Playtime in minutes on Windows
playtime_mac_forever: u64
Playtime in minutes on Mac
playtime_linux_forever: u64
Playtime in minutes on Linux
Trait Implementations§
source§impl<'de> Deserialize<'de> for Game
impl<'de> Deserialize<'de> for Game
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 Game
impl RefUnwindSafe for Game
impl Send for Game
impl Sync for Game
impl Unpin for Game
impl UnwindSafe for Game
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