pub struct LoadConfigOptions {
pub cwd: PathBuf,
pub cli: CliOverrides,
pub xdg_config_home: Option<PathBuf>,
pub home_dir: Option<PathBuf>,
pub local: bool,
}Fields§
§cwd: PathBuf§cli: CliOverrides§xdg_config_home: Option<PathBuf>§home_dir: Option<PathBuf>§local: bool--local sandbox mode: ignores global/user-level config and user-level
agents/skills directories,
only uses the project root .defect/. When true, user layers are always absent
(see
resolve_user_config_path / resolve_user_agents_dir /
resolve_user_skills_dir).
Trait Implementations§
Source§impl Clone for LoadConfigOptions
impl Clone for LoadConfigOptions
Source§fn clone(&self) -> LoadConfigOptions
fn clone(&self) -> LoadConfigOptions
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 LoadConfigOptions
impl Debug for LoadConfigOptions
Source§impl Default for LoadConfigOptions
impl Default for LoadConfigOptions
Source§fn default() -> LoadConfigOptions
fn default() -> LoadConfigOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoadConfigOptions
impl RefUnwindSafe for LoadConfigOptions
impl Send for LoadConfigOptions
impl Sync for LoadConfigOptions
impl Unpin for LoadConfigOptions
impl UnsafeUnpin for LoadConfigOptions
impl UnwindSafe for LoadConfigOptions
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