pub struct AppConfig {
pub mod_list: Vec<String>,
pub log_level: String,
pub install_dir: Option<String>,
}Expand description
Application configuration loaded from vmm_config.toml.
This structure defines all user-configurable settings for the Valheim Mod Manager, including which mods to manage, logging preferences, and file system paths.
Fields§
§mod_list: Vec<String>List of mods to install and manage, specified as “Owner-ModName” strings.
log_level: StringLogging level (e.g., “error”, “warn”, “info”, “debug”, “trace”).
install_dir: Option<String>Optional directory path where mods should be installed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppConfig
impl<'de> Deserialize<'de> for AppConfig
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 AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
impl UnwindSafe for AppConfig
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