pub struct LoadOptions {
pub validate: bool,
pub use_defaults: bool,
pub allow_missing: bool,
pub expand_env_vars: bool,
}Expand description
Configuration loading options
Fields§
§validate: boolWhether to validate configuration after loading
use_defaults: boolWhether to merge with default configuration
allow_missing: boolWhether to allow missing files (for file sources)
expand_env_vars: boolWhether to expand environment variables in config values
Trait Implementations§
Source§impl Clone for LoadOptions
impl Clone for LoadOptions
Source§impl Debug for LoadOptions
impl Debug for LoadOptions
Auto Trait Implementations§
impl Freeze for LoadOptions
impl RefUnwindSafe for LoadOptions
impl Send for LoadOptions
impl Sync for LoadOptions
impl Unpin for LoadOptions
impl UnsafeUnpin for LoadOptions
impl UnwindSafe for LoadOptions
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