pub struct RawgGameDetails {Show 16 fields
pub id: i32,
pub name: String,
pub alternative_names: Vec<String>,
pub description_raw: Option<String>,
pub metacritic: Option<i32>,
pub website: Option<String>,
pub released: Option<String>,
pub background_image: Option<String>,
pub genres: Vec<RawgGenre>,
pub tags: Vec<RawgTag>,
pub developers: Vec<RawgDeveloper>,
pub publishers: Vec<RawgPublisher>,
pub reddit_url: Option<String>,
pub metacritic_url: Option<String>,
pub stores: Vec<StoreWrapper>,
pub esrb_rating: Option<EsrbRating>,
}Expand description
Detalhes completos de um jogo na RAWG.
Inclui informações expandidas como descrição, metacritic score, desenvolvedoras e tags.
Fields§
§id: i32§name: String§alternative_names: Vec<String>§description_raw: Option<String>§metacritic: Option<i32>§website: Option<String>§released: Option<String>§background_image: Option<String>§genres: Vec<RawgGenre>§developers: Vec<RawgDeveloper>§publishers: Vec<RawgPublisher>§reddit_url: Option<String>§metacritic_url: Option<String>§stores: Vec<StoreWrapper>§esrb_rating: Option<EsrbRating>Trait Implementations§
Source§impl Debug for RawgGameDetails
impl Debug for RawgGameDetails
Source§impl<'de> Deserialize<'de> for RawgGameDetails
impl<'de> Deserialize<'de> for RawgGameDetails
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 RawgGameDetails
impl RefUnwindSafe for RawgGameDetails
impl Send for RawgGameDetails
impl Sync for RawgGameDetails
impl Unpin for RawgGameDetails
impl UnsafeUnpin for RawgGameDetails
impl UnwindSafe for RawgGameDetails
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
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more