pub struct SettingsLayer {Show 16 fields
pub schema_version: Option<u32>,
pub provider: Option<String>,
pub model: Option<String>,
pub thinking: Option<String>,
pub active_tools: Option<Vec<String>>,
pub session_database: Option<String>,
pub max_retries: Option<u32>,
pub retry_base_delay_ms: Option<u64>,
pub retry_max_delay_ms: Option<u64>,
pub compaction_enabled: Option<bool>,
pub tui: Option<TuiSettingsLayer>,
pub resources: Option<ResourceSettingsLayer>,
pub web_search: Option<WebSearchSettingsLayer>,
pub web_fetch: Option<WebFetchSettingsLayer>,
pub project_trust: Option<ProjectTrustDefault>,
pub mcp_servers: Option<Vec<McpServerSettings>>,
}Expand description
Sparse one-layer settings overlay.
Fields§
§schema_version: Option<u32>Optional schema version for files.
provider: Option<String>Provider override.
model: Option<String>Model override.
thinking: Option<String>Thinking override.
active_tools: Option<Vec<String>>Active tools replacement.
session_database: Option<String>Session database override.
max_retries: Option<u32>Retry override.
retry_base_delay_ms: Option<u64>Base model-retry delay override, in milliseconds.
retry_max_delay_ms: Option<u64>Maximum model-retry delay override, in milliseconds.
compaction_enabled: Option<bool>Compaction override.
tui: Option<TuiSettingsLayer>Nested TUI overlay.
resources: Option<ResourceSettingsLayer>Nested resource overlay.
web_search: Option<WebSearchSettingsLayer>Nested web-search overlay.
web_fetch: Option<WebFetchSettingsLayer>Nested web-fetch overlay.
project_trust: Option<ProjectTrustDefault>Project trust default override.
mcp_servers: Option<Vec<McpServerSettings>>Full MCP server replacements merged by canonical server ID.
Trait Implementations§
Source§impl Clone for SettingsLayer
impl Clone for SettingsLayer
Source§impl Debug for SettingsLayer
impl Debug for SettingsLayer
Source§impl Default for SettingsLayer
impl Default for SettingsLayer
Source§impl<'de> Deserialize<'de> for SettingsLayer
impl<'de> Deserialize<'de> for SettingsLayer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SettingsLayer
Source§impl PartialEq for SettingsLayer
impl PartialEq for SettingsLayer
Source§impl Serialize for SettingsLayer
impl Serialize for SettingsLayer
impl StructuralPartialEq for SettingsLayer
Auto Trait Implementations§
impl Freeze for SettingsLayer
impl RefUnwindSafe for SettingsLayer
impl Send for SettingsLayer
impl Sync for SettingsLayer
impl Unpin for SettingsLayer
impl UnsafeUnpin for SettingsLayer
impl UnwindSafe for SettingsLayer
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.