struct GameResponse {
id: u64,
name: String,
creator: Option<GameCreator>,
price: Option<u64>,
visits: Option<u64>,
favorited_count: Option<u64>,
updated: Option<String>,
genre_l1: Option<String>,
genre_l2: Option<String>,
}Expand description
One game’s details. Fields other than id and name are only used by place search.
Fields§
§id: u64§name: String§creator: Option<GameCreator>§price: Option<u64>§visits: Option<u64>§favorited_count: Option<u64>§updated: Option<String>§genre_l1: Option<String>§genre_l2: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GameResponse
impl<'de> Deserialize<'de> for GameResponse
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 GameResponse
impl RefUnwindSafe for GameResponse
impl Send for GameResponse
impl Sync for GameResponse
impl Unpin for GameResponse
impl UnsafeUnpin for GameResponse
impl UnwindSafe for GameResponse
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