pub struct Game {Show 40 fields
pub id: String,
pub library: String,
pub title: String,
pub alternate_titles: String,
pub series: String,
pub developer: String,
pub publisher: String,
pub primary_platform: String,
pub platforms: TagVec,
pub date_added: String,
pub date_modified: String,
pub detailed_platforms: Option<Vec<Tag>>,
pub legacy_broken: bool,
pub legacy_extreme: bool,
pub play_mode: String,
pub status: String,
pub notes: String,
pub tags: TagVec,
pub detailed_tags: Option<Vec<Tag>>,
pub source: String,
pub legacy_application_path: String,
pub legacy_launch_command: String,
pub release_date: String,
pub version: String,
pub original_description: String,
pub language: String,
pub active_data_id: Option<i64>,
pub active_data_on_disk: bool,
pub last_played: Option<String>,
pub playtime: i64,
pub play_counter: i64,
pub active_game_config_id: Option<i64>,
pub active_game_config_owner: Option<String>,
pub archive_state: i64,
pub game_data: Option<Vec<GameData>>,
pub add_apps: Option<Vec<AdditionalApp>>,
pub ruffle_support: String,
pub logo_path: String,
pub screenshot_path: String,
pub ext_data: Option<HashMap<String, Value>>,
}
Fields§
§id: String
§library: String
§title: String
§alternate_titles: String
§series: String
§developer: String
§publisher: String
§primary_platform: String
§platforms: TagVec
§date_added: String
§date_modified: String
§detailed_platforms: Option<Vec<Tag>>
§legacy_broken: bool
§legacy_extreme: bool
§play_mode: String
§status: String
§notes: String
§source: String
§legacy_application_path: String
§legacy_launch_command: String
§release_date: String
§version: String
§original_description: String
§language: String
§active_data_id: Option<i64>
§active_data_on_disk: bool
§last_played: Option<String>
§playtime: i64
§play_counter: i64
§active_game_config_id: Option<i64>
§active_game_config_owner: Option<String>
§archive_state: i64
§game_data: Option<Vec<GameData>>
§add_apps: Option<Vec<AdditionalApp>>
§ruffle_support: String
§logo_path: String
§screenshot_path: String
§ext_data: Option<HashMap<String, Value>>
Trait 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
Source§impl From<&PartialGame> for Game
impl From<&PartialGame> for Game
Source§fn from(source: &PartialGame) -> Self
fn from(source: &PartialGame) -> Self
Converts to this type from the input type.
Source§impl From<Game> for PartialGame
impl From<Game> for PartialGame
Auto Trait Implementations§
impl Freeze for Game
impl RefUnwindSafe for Game
impl Send for Game
impl Sync for Game
impl Unpin 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