pub struct SettingsLoad {
pub settings: Settings,
pub extends_dirs: Vec<PathBuf>,
pub warnings: Vec<String>,
}Expand description
The loader result: the merged settings plus human-readable warnings the caller surfaces on stderr (this crate never prints).
Fields§
§settings: SettingsThe merged, typed settings.
extends_dirs: Vec<PathBuf>The resolved extends dotfolders, in list order (ADR-0024 §1.2 amendment).
Each also contributes a skills/ root and an AGENTS.md entry, read by their
own loaders. Resolving them once here is what makes the load order an invariant
rather than a convention (ADR-0025 §6.1): a caller cannot discover skills or
instructions without first holding this value.
warnings: Vec<String>Skipped layers, stripped keys, invalid entries — in discovery order.
Trait Implementations§
Source§impl Clone for SettingsLoad
impl Clone for SettingsLoad
Source§fn clone(&self) -> SettingsLoad
fn clone(&self) -> SettingsLoad
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SettingsLoad
impl Debug for SettingsLoad
Source§impl Default for SettingsLoad
impl Default for SettingsLoad
Source§fn default() -> SettingsLoad
fn default() -> SettingsLoad
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SettingsLoad
impl RefUnwindSafe for SettingsLoad
impl Send for SettingsLoad
impl Sync for SettingsLoad
impl Unpin for SettingsLoad
impl UnsafeUnpin for SettingsLoad
impl UnwindSafe for SettingsLoad
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