pub struct RawgGame {
pub id: u32,
pub name: String,
pub background_image: Option<String>,
pub rating: f32,
pub released: Option<String>,
pub genres: Vec<RawgGenre>,
pub tags: Vec<RawgTag>,
pub slug: String,
}Expand description
Representação básica de um jogo na RAWG.
Fields§
§id: u32§name: String§background_image: Option<String>§rating: f32§released: Option<String>§genres: Vec<RawgGenre>§slug: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for RawgGame
impl<'de> Deserialize<'de> for RawgGame
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 RawgGame
impl RefUnwindSafe for RawgGame
impl Send for RawgGame
impl Sync for RawgGame
impl Unpin for RawgGame
impl UnwindSafe for RawgGame
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