pub struct CodingSettings {Show 16 fields
pub schema_version: u32,
pub provider: String,
pub model: String,
pub thinking: String,
pub active_tools: Vec<String>,
pub session_database: Option<String>,
pub max_retries: u32,
pub retry_base_delay_ms: u64,
pub retry_max_delay_ms: u64,
pub compaction_enabled: bool,
pub tui: TuiSettings,
pub resources: ResourceSettings,
pub web_search: WebSearchSettings,
pub web_fetch: WebFetchSettings,
pub project_trust: ProjectTrustDefault,
pub mcp_servers: Vec<McpServerConfig>,
}Expand description
Versioned, secret-free resolved settings snapshot.
Fields§
§schema_version: u32Persisted schema version.
provider: StringProvider selector.
model: StringModel selector.
thinking: StringThinking mode selector.
active_tools: Vec<String>Canonical active tool names.
session_database: Option<String>Session database override, relative to injected state dir when absent.
max_retries: u32Maximum model retries.
retry_base_delay_ms: u64Base delay before the first model retry, in milliseconds.
retry_max_delay_ms: u64Maximum model retry delay, including provider hints, in milliseconds.
compaction_enabled: boolWhether automatic compaction is enabled.
tui: TuiSettingsTUI settings.
resources: ResourceSettingsDeclarative resource settings.
web_search: WebSearchSettingsRegistered web-search routing and backend controls.
web_fetch: WebFetchSettingsExplicit client web-fetch backend and bounded cache controls.
project_trust: ProjectTrustDefaultDefault project trust behavior.
mcp_servers: Vec<McpServerConfig>Validated runtime-only MCP server configs, omitted from durable settings.
Trait Implementations§
Source§impl Clone for CodingSettings
impl Clone for CodingSettings
Source§impl Debug for CodingSettings
impl Debug for CodingSettings
Source§impl Default for CodingSettings
impl Default for CodingSettings
Source§impl<'de> Deserialize<'de> for CodingSettings
impl<'de> Deserialize<'de> for CodingSettings
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 CodingSettings
Source§impl PartialEq for CodingSettings
impl PartialEq for CodingSettings
Source§impl Serialize for CodingSettings
impl Serialize for CodingSettings
impl StructuralPartialEq for CodingSettings
Auto Trait Implementations§
impl Freeze for CodingSettings
impl RefUnwindSafe for CodingSettings
impl Send for CodingSettings
impl Sync for CodingSettings
impl Unpin for CodingSettings
impl UnsafeUnpin for CodingSettings
impl UnwindSafe for CodingSettings
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.