pub struct ApplicationConfig {
pub config_dir: Option<String>,
}Expand description
Root configuration read from config/application.toml under the [configbuilder] key.
All fields are optional; absent keys fall back to environment-variable resolution
or XDG defaults. Consumers do not construct this directly – the runtime loads it
via the ConfigSection impl.
Fields§
§config_dir: Option<String>Override the default config directory path (normally resolved from XDG or
CONFIGBUILDER_CONFIG_DIR). Leave None to use the default resolution chain.
Trait Implementations§
Source§impl Debug for ApplicationConfig
impl Debug for ApplicationConfig
Source§impl Default for ApplicationConfig
impl Default for ApplicationConfig
Source§impl<'de> Deserialize<'de> for ApplicationConfigwhere
ApplicationConfig: Default,
impl<'de> Deserialize<'de> for ApplicationConfigwhere
ApplicationConfig: Default,
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 Forget for ApplicationConfig
impl Freeze for ApplicationConfig
impl RefUnwindSafe for ApplicationConfig
impl Send for ApplicationConfig
impl Sync for ApplicationConfig
impl Unpin for ApplicationConfig
impl UnsafeUnpin for ApplicationConfig
impl UnwindSafe for ApplicationConfig
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