pub struct SourceGame {
pub platform: String,
pub platform_game_id: String,
pub name: Option<String>,
pub installed: bool,
pub executable_path: Option<String>,
pub install_path: Option<String>,
pub playtime_minutes: Option<u32>,
pub last_played: Option<i64>,
}Fields§
§platform: String§platform_game_id: String§name: Option<String>§installed: bool§executable_path: Option<String>§install_path: Option<String>§playtime_minutes: Option<u32>§last_played: Option<i64>Trait Implementations§
Source§impl Clone for SourceGame
impl Clone for SourceGame
Source§fn clone(&self) -> SourceGame
fn clone(&self) -> SourceGame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SourceGame
impl RefUnwindSafe for SourceGame
impl Send for SourceGame
impl Sync for SourceGame
impl Unpin for SourceGame
impl UnsafeUnpin for SourceGame
impl UnwindSafe for SourceGame
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<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