pub struct MergedSettings {
pub safe_commands: Vec<String>,
pub safe_commands_source: SettingSource,
pub denied_commands: Vec<String>,
pub denied_commands_source: SettingSource,
pub auto_accept_mode: AutoAcceptMode,
pub auto_accept_mode_source: SettingSource,
pub context_limit: Option<u32>,
pub context_limit_source: SettingSource,
pub project_md_files: Vec<String>,
pub project_md_files_source: SettingSource,
pub preferred_mode: AgentMode,
pub preferred_mode_source: SettingSource,
}Expand description
Effective merged settings — the result of layering global + project settings.
This is a read-only view. Each field has a source annotation for display.
Fields§
§safe_commands: Vec<String>Merged safe command prefixes (project extends global)
safe_commands_source: SettingSource§denied_commands: Vec<String>Merged denied command prefixes (project overrides global)
denied_commands_source: SettingSource§auto_accept_mode: AutoAcceptMode§auto_accept_mode_source: SettingSource§context_limit: Option<u32>§context_limit_source: SettingSource§project_md_files: Vec<String>§project_md_files_source: SettingSource§preferred_mode: AgentMode§preferred_mode_source: SettingSourceTrait Implementations§
Source§impl Clone for MergedSettings
impl Clone for MergedSettings
Source§fn clone(&self) -> MergedSettings
fn clone(&self) -> MergedSettings
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 moreAuto Trait Implementations§
impl Freeze for MergedSettings
impl RefUnwindSafe for MergedSettings
impl Send for MergedSettings
impl Sync for MergedSettings
impl Unpin for MergedSettings
impl UnsafeUnpin for MergedSettings
impl UnwindSafe for MergedSettings
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