pub struct EnabledMod {Show 16 fields
pub mod_id: String,
pub display_name: Option<String>,
pub enabled: bool,
pub version: Option<String>,
pub fomod_config: Option<String>,
pub nexus_mod_id: Option<NexusModId>,
pub nexus_file_id: Option<NexusFileId>,
pub nexus_game_domain: Option<String>,
pub installed_timestamp: Option<i64>,
pub category_id: Option<i64>,
pub notes: Option<String>,
pub tags: Vec<String>,
pub lock: Option<LockReason>,
pub install_method: Option<InstallMethod>,
pub source_archive_hash: Option<String>,
pub install_status: Option<InstallStatus>,
}Expand description
A mod entry within a profile.
Fields§
§mod_id: String§display_name: Option<String>Human-readable display name shown in UI (falls back to mod_id if None).
enabled: bool§version: Option<String>§fomod_config: Option<String>Stored FOMOD declarative config (TOML), if this mod was installed via FOMOD.
Contains a serialized fomod_oxide::DeclarativeConfig that can be
re-applied during deployment to reproduce the same FOMOD selections.
nexus_mod_id: Option<NexusModId>§nexus_file_id: Option<NexusFileId>§nexus_game_domain: Option<String>§installed_timestamp: Option<i64>§category_id: Option<i64>§notes: Option<String>User-defined tags for filtering and export.
lock: Option<LockReason>Per-mod lock: when Some, this mod’s position cannot be changed via
Message::ReorderMod. Other mods may still move around it. See the
profile-level load_order_lock on Profile for the whole-profile
lock that takes precedence.
install_method: Option<InstallMethod>The detected install method for this mod. None for mods that
predate the installer pipeline or were installed via paths that
bypass analysis (Wabbajack directives).
source_archive_hash: Option<String>xxh64 hex digest of the source archive. Lets uninstall and dossier dumps correlate a mod row back to the original download.
install_status: Option<InstallStatus>Where this mod is in the install lifecycle. None means legacy
(pre-V8) — treat as Installed for display purposes.
Trait Implementations§
Source§impl Clone for EnabledMod
impl Clone for EnabledMod
Source§fn clone(&self) -> EnabledMod
fn clone(&self) -> EnabledMod
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EnabledMod
impl Debug for EnabledMod
Source§impl Default for EnabledMod
impl Default for EnabledMod
Source§fn default() -> EnabledMod
fn default() -> EnabledMod
Source§impl<'de> Deserialize<'de> for EnabledMod
impl<'de> Deserialize<'de> for EnabledMod
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>,
Auto Trait Implementations§
impl Freeze for EnabledMod
impl RefUnwindSafe for EnabledMod
impl Send for EnabledMod
impl Sync for EnabledMod
impl Unpin for EnabledMod
impl UnsafeUnpin for EnabledMod
impl UnwindSafe for EnabledMod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
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>
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