pub struct ModFile {Show 16 fields
pub copy_name: Option<String>,
pub extra_files: Vec<String>,
pub file_date: String,
pub file_size: u64,
pub full_path: String,
pub i3d_files: Vec<String>,
pub image_dds: Vec<String>,
pub image_non_dds: Vec<String>,
pub is_folder: bool,
pub is_save_game: bool,
pub is_mod_pack: bool,
pub png_texture: Vec<String>,
pub short_name: String,
pub space_files: Vec<String>,
pub too_big_files: Vec<String>,
pub zip_files: Vec<ZipPackFile>,
}Expand description
File related metadata for a mod
Fields§
§copy_name: Option<String>suggested name if this appears to be a copy of a mod
extra_files: Vec<String>list of extra files in mod
file_date: Stringmod file date
file_size: u64mod size (packed zip or folder contents)
full_path: Stringfull path to file
i3d_files: Vec<String>list of I3D files
image_dds: Vec<String>list of DDS files
image_non_dds: Vec<String>list of non DDS images
is_folder: boolfolder flag (is this a folder?)
is_save_game: boolsave game flag (is this a save game?)
is_mod_pack: boolmod pack flag (is this a pack of mods?)
png_texture: Vec<String>list of PNG textures (false positives possible)
short_name: Stringshort name of mod (the bit before the .zip extension, or the folder name)
space_files: Vec<String>list of files with spaces in them
too_big_files: Vec<String>list of oversized files
zip_files: Vec<ZipPackFile>list of zip files
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModFile
impl RefUnwindSafe for ModFile
impl Send for ModFile
impl Sync for ModFile
impl Unpin for ModFile
impl UnwindSafe for ModFile
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