pub struct CollectionItemStats {
pub min_players: u32,
pub max_players: u32,
pub min_playtime: Duration,
pub max_playtime: Duration,
pub playing_time: Duration,
pub owned_by: u64,
pub rating: CollectionItemRating,
}Expand description
Stats of the game such as the player count and duration. Can be omitted from the response. More stats can be found from the specific game endpoint.
Fields§
§min_players: u32Minimum players the game supports.
max_players: u32Maximum players the game supports.
min_playtime: DurationMinimum amount of time the game is suggested to take to play.
max_playtime: DurationMaximum amount of time the game is suggested to take to play.
playing_time: DurationThe amount of time the game is suggested to take to play.
owned_by: u64The number of people that own this game.
rating: CollectionItemRatingInformation about the rating that this user, as well as all users, have given this game.
Trait Implementations§
Source§impl Clone for CollectionItemStats
impl Clone for CollectionItemStats
Source§fn clone(&self) -> CollectionItemStats
fn clone(&self) -> CollectionItemStats
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 CollectionItemStats
impl Debug for CollectionItemStats
Source§impl<'de> Deserialize<'de> for CollectionItemStats
impl<'de> Deserialize<'de> for CollectionItemStats
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 PartialEq for CollectionItemStats
impl PartialEq for CollectionItemStats
impl StructuralPartialEq for CollectionItemStats
Auto Trait Implementations§
impl Freeze for CollectionItemStats
impl RefUnwindSafe for CollectionItemStats
impl Send for CollectionItemStats
impl Sync for CollectionItemStats
impl Unpin for CollectionItemStats
impl UnwindSafe for CollectionItemStats
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