pub struct HotListGame {
pub id: u64,
pub rank: u64,
pub thumbnail: Option<String>,
pub name: String,
pub year_published: i64,
}Expand description
An game on the hot list, has the rank from 1 to 50 on the list, as well as some basic information about the game like the name and year published.
Fields§
§id: u64The ID of the game.
rank: u64The rank within the hot list, should be ordered from 1 to 50.
thumbnail: Option<String>A link to a jpg thumbnail image for the game.
name: StringThe name of the game.
year_published: i64The year the game was first published.
Trait Implementations§
Source§impl Clone for HotListGame
impl Clone for HotListGame
Source§fn clone(&self) -> HotListGame
fn clone(&self) -> HotListGame
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 HotListGame
impl Debug for HotListGame
Source§impl<'de> Deserialize<'de> for HotListGame
impl<'de> Deserialize<'de> for HotListGame
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HotListGame
impl PartialEq for HotListGame
impl StructuralPartialEq for HotListGame
Auto Trait Implementations§
impl Freeze for HotListGame
impl RefUnwindSafe for HotListGame
impl Send for HotListGame
impl Sync for HotListGame
impl Unpin for HotListGame
impl UnwindSafe for HotListGame
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