pub struct LoadedConfig {
pub config: FileConfig,
pub files: Vec<String>,
}Expand description
The fully layered configuration plus the files it actually came from.
Fields§
§config: FileConfigUser and project files merged (project wins per field).
files: Vec<String>Paths loaded, in layering order (user first, project last). Surfaced in the run report so a consumer can see which files shaped a run.
Trait Implementations§
Source§impl Debug for LoadedConfig
impl Debug for LoadedConfig
Source§impl Default for LoadedConfig
impl Default for LoadedConfig
Source§fn default() -> LoadedConfig
fn default() -> LoadedConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoadedConfig
impl RefUnwindSafe for LoadedConfig
impl Send for LoadedConfig
impl Sync for LoadedConfig
impl Unpin for LoadedConfig
impl UnsafeUnpin for LoadedConfig
impl UnwindSafe for LoadedConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more