pub struct PartialGame {
Show 32 fields pub id: String, pub library: Option<String>, pub title: Option<String>, pub alternate_titles: Option<String>, pub series: Option<String>, pub developer: Option<String>, pub publisher: Option<String>, pub primary_platform: Option<String>, pub platforms: Option<TagVec>, pub date_added: Option<String>, pub date_modified: Option<String>, pub legacy_broken: Option<bool>, pub legacy_extreme: Option<bool>, pub play_mode: Option<String>, pub status: Option<String>, pub notes: Option<String>, pub tags: Option<TagVec>, pub source: Option<String>, pub legacy_application_path: Option<String>, pub legacy_launch_command: Option<String>, pub release_date: Option<String>, pub version: Option<String>, pub original_description: Option<String>, pub language: Option<String>, pub active_data_id: Option<i64>, pub active_data_on_disk: Option<bool>, pub last_played: Option<String>, pub playtime: Option<i64>, pub active_game_config_id: Option<i64>, pub active_game_config_owner: Option<String>, pub archive_state: Option<i64>, pub add_apps: Option<Vec<AdditionalApp>>,
}

Fields§

§id: String§library: Option<String>§title: Option<String>§alternate_titles: Option<String>§series: Option<String>§developer: Option<String>§publisher: Option<String>§primary_platform: Option<String>§platforms: Option<TagVec>§date_added: Option<String>§date_modified: Option<String>§legacy_broken: Option<bool>§legacy_extreme: Option<bool>§play_mode: Option<String>§status: Option<String>§notes: Option<String>§tags: Option<TagVec>§source: Option<String>§legacy_application_path: Option<String>§legacy_launch_command: Option<String>§release_date: Option<String>§version: Option<String>§original_description: Option<String>§language: Option<String>§active_data_id: Option<i64>§active_data_on_disk: Option<bool>§last_played: Option<String>§playtime: Option<i64>§active_game_config_id: Option<i64>§active_game_config_owner: Option<String>§archive_state: Option<i64>§add_apps: Option<Vec<AdditionalApp>>

Trait Implementations§

source§

impl Clone for PartialGame

source§

fn clone(&self) -> PartialGame

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PartialGame

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PartialGame

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl From<&PartialGame> for Game

source§

fn from(source: &PartialGame) -> Self

Converts to this type from the input type.
source§

impl From<Game> for PartialGame

source§

fn from(game: Game) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V