pub enum LockReason {
Wabbajack {
manifest_hash: String,
},
NexusCollection {
slug: String,
version: String,
},
TomlImport {
source_path: String,
},
Manual {
note: Option<String>,
},
}Expand description
Why a profile’s load order (or an individual mod) is locked.
Stored both at the profile level (inside LoadOrderLock) and, for
per-mod pins, directly on EnabledMod::lock.
Variants§
Wabbajack
Locked because the profile was installed from a Wabbajack modlist.
manifest_hash identifies which manifest so scans can verify
provenance.
NexusCollection
Locked because the profile was installed from a Nexus Collection.
TomlImport
Locked because the profile was imported from an authoritative TOML
file (e.g. shared between machines). source_path records where it
came from at import time.
Manual
Locked explicitly by the user via the UI or CLI.
Trait Implementations§
Source§impl Clone for LockReason
impl Clone for LockReason
Source§fn clone(&self) -> LockReason
fn clone(&self) -> LockReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LockReason
impl Debug for LockReason
Source§impl<'de> Deserialize<'de> for LockReason
impl<'de> Deserialize<'de> for LockReason
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 PartialEq for LockReason
impl PartialEq for LockReason
Source§fn eq(&self, other: &LockReason) -> bool
fn eq(&self, other: &LockReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LockReason
impl Serialize for LockReason
impl Eq for LockReason
impl StructuralPartialEq for LockReason
Auto Trait Implementations§
impl Freeze for LockReason
impl RefUnwindSafe for LockReason
impl Send for LockReason
impl Sync for LockReason
impl Unpin for LockReason
impl UnsafeUnpin for LockReason
impl UnwindSafe for LockReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.