pub struct NamedConfig {
pub path: PathBuf,
pub config: Config,
}Expand description
One config file loaded as part of a ConfigSet.
Fields§
§path: PathBufThe file the config came from (used in error messages).
config: ConfigThe validated config.
Trait Implementations§
Source§impl Clone for NamedConfig
impl Clone for NamedConfig
Auto Trait Implementations§
impl Freeze for NamedConfig
impl RefUnwindSafe for NamedConfig
impl Send for NamedConfig
impl Sync for NamedConfig
impl Unpin for NamedConfig
impl UnsafeUnpin for NamedConfig
impl UnwindSafe for NamedConfig
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