pub struct ModInfo {
pub name: String,
pub game: String,
pub platform: String,
pub description: String,
pub short_description: String,
pub dependencies: Vec<String>,
pub custom_textures_path: String,
pub custom_game_files_path: String,
pub scripts_path: String,
pub icon_path: String,
pub auto_generated_tags: Vec<String>,
}
Fields§
§name: String
§game: String
§platform: String
§description: String
§short_description: String
§dependencies: Vec<String>
§custom_textures_path: String
§custom_game_files_path: String
§scripts_path: String
§icon_path: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModInfo
impl<'de> Deserialize<'de> for ModInfo
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 ModInfo
impl RefUnwindSafe for ModInfo
impl Send for ModInfo
impl Sync for ModInfo
impl Unpin for ModInfo
impl UnwindSafe for ModInfo
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