pub struct Loaded {
pub settings: Settings,
pub doc: Value,
pub file_doc: Value,
pub files: Vec<(String, Format)>,
pub warnings: Vec<String>,
}Expand description
The result of a v2 load: the typed settings plus the documents they came from (the merged FILE document is kept for secret-provenance validation and for the reload diff).
Fields§
§settings: Settings§doc: ValueThe effective document (files ← env ← flags), what Settings typed.
file_doc: ValueThe merged FILE layer alone (before env/flags).
files: Vec<(String, Format)>§warnings: Vec<String>Every non-fatal advisory collected during load (surfaced by
--validate-config and logged at startup).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Loaded
impl RefUnwindSafe for Loaded
impl Send for Loaded
impl Sync for Loaded
impl Unpin for Loaded
impl UnsafeUnpin for Loaded
impl UnwindSafe for Loaded
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