pub struct Game {Show 19 fields
pub id: String,
pub name: String,
pub cover_url: Option<String>,
pub genres: Option<String>,
pub developer: Option<String>,
pub platform: Platform,
pub platform_game_id: String,
pub installed: bool,
pub install_path: Option<String>,
pub executable_path: Option<String>,
pub launch_args: Option<String>,
pub import_confidence: Option<ImportConfidence>,
pub user_rating: Option<i32>,
pub favorite: bool,
pub status: Option<String>,
pub playtime: Option<i32>,
pub last_played: Option<String>,
pub added_at: String,
pub is_adult: bool,
}Expand description
Jogo na biblioteca do usuário.
Representa um jogo adicionado à biblioteca pessoal, com metadados importados da plataforma e dados de progresso do usuário.
Fields§
§id: String§name: String§cover_url: Option<String>§genres: Option<String>§developer: Option<String>§platform: Platform§platform_game_id: String§installed: bool§install_path: Option<String>§executable_path: Option<String>§launch_args: Option<String>§import_confidence: Option<ImportConfidence>§user_rating: Option<i32>§favorite: bool§status: Option<String>§playtime: Option<i32>§last_played: Option<String>§added_at: String§is_adult: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Game
impl<'de> Deserialize<'de> for Game
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 Game
impl RefUnwindSafe for Game
impl Send for Game
impl Sync for Game
impl Unpin for Game
impl UnsafeUnpin for Game
impl UnwindSafe for Game
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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