pub struct GameData {
pub id: i64,
pub game_id: String,
pub title: String,
pub date_added: String,
pub sha256: String,
pub crc32: i32,
pub present_on_disk: bool,
pub path: Option<String>,
pub size: i64,
pub parameters: Option<String>,
pub application_path: String,
pub launch_command: String,
}
Fields§
§id: i64
§game_id: String
§title: String
§date_added: String
§sha256: String
§crc32: i32
§present_on_disk: bool
§path: Option<String>
§size: i64
§parameters: Option<String>
§application_path: String
§launch_command: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GameData
impl<'de> Deserialize<'de> for GameData
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<&PartialGameData> for GameData
impl From<&PartialGameData> for GameData
Source§fn from(value: &PartialGameData) -> Self
fn from(value: &PartialGameData) -> Self
Converts to this type from the input type.
Source§impl From<GameData> for PartialGameData
impl From<GameData> for PartialGameData
Auto Trait Implementations§
impl Freeze for GameData
impl RefUnwindSafe for GameData
impl Send for GameData
impl Sync for GameData
impl Unpin for GameData
impl UnwindSafe for GameData
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