pub struct MergedConfig {
pub global: Option<Settings>,
pub project: Option<Settings>,
pub local: Option<Settings>,
pub merged: Settings,
}Expand description
Merged configuration from all levels
Fields§
§global: Option<Settings>Source of each field for debugging
project: Option<Settings>§local: Option<Settings>§merged: SettingsFinal merged result
Implementations§
Trait Implementations§
Source§impl Clone for MergedConfig
impl Clone for MergedConfig
Source§fn clone(&self) -> MergedConfig
fn clone(&self) -> MergedConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 MergedConfig
impl Debug for MergedConfig
Source§impl Default for MergedConfig
impl Default for MergedConfig
Source§fn default() -> MergedConfig
fn default() -> MergedConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MergedConfig
impl RefUnwindSafe for MergedConfig
impl Send for MergedConfig
impl Sync for MergedConfig
impl Unpin for MergedConfig
impl UnsafeUnpin for MergedConfig
impl UnwindSafe for MergedConfig
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