pub struct ProjectConfig {
pub model: Option<String>,
pub thinking: Option<ThinkingLevel>,
pub system_prompt: Option<String>,
pub system_prompt_append: Option<String>,
pub allowed_tools: Option<Vec<String>>,
pub validation_commands: Vec<String>,
pub compact_threshold: Option<f64>,
pub memories: bool,
pub source: Option<PathBuf>,
pub post_tools_hooks: Vec<HookConfig>,
pub agents: Vec<AgentDef>,
pub max_agent_depth: Option<usize>,
}Fields§
§model: Option<String>§thinking: Option<ThinkingLevel>§system_prompt: Option<String>§system_prompt_append: Option<String>§allowed_tools: Option<Vec<String>>§validation_commands: Vec<String>§compact_threshold: Option<f64>§memories: bool§source: Option<PathBuf>§post_tools_hooks: Vec<HookConfig>§agents: Vec<AgentDef>§max_agent_depth: Option<usize>Trait Implementations§
Source§impl Clone for ProjectConfig
impl Clone for ProjectConfig
Source§fn clone(&self) -> ProjectConfig
fn clone(&self) -> ProjectConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ProjectConfig
impl Debug for ProjectConfig
Auto Trait Implementations§
impl Freeze for ProjectConfig
impl RefUnwindSafe for ProjectConfig
impl Send for ProjectConfig
impl Sync for ProjectConfig
impl Unpin for ProjectConfig
impl UnsafeUnpin for ProjectConfig
impl UnwindSafe for ProjectConfig
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