pub struct GameSpec {
pub id: String,
pub display_name: String,
pub steam_app_id: Option<String>,
pub install_dir_name: Option<String>,
pub install_path_override: Option<PathBuf>,
pub executable_dir: PathBuf,
pub mod_dir: Option<PathBuf>,
pub nexus_domain: Option<String>,
pub proxy_dlls: Vec<String>,
}Expand description
Deserialized configuration for a user-defined generic game.
Fields§
§id: String§display_name: String§steam_app_id: Option<String>§install_dir_name: Option<String>§install_path_override: Option<PathBuf>§executable_dir: PathBuf§mod_dir: Option<PathBuf>§nexus_domain: Option<String>§proxy_dlls: Vec<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GameSpec
impl<'de> Deserialize<'de> for GameSpec
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 GameSpec
impl RefUnwindSafe for GameSpec
impl Send for GameSpec
impl Sync for GameSpec
impl Unpin for GameSpec
impl UnsafeUnpin for GameSpec
impl UnwindSafe for GameSpec
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