pub struct SpawnConfig {
pub description: String,
pub working_directory: Option<String>,
pub max_iterations: Option<u32>,
pub enable_validation: Option<bool>,
pub build_type: Option<String>,
pub extra: Option<Value>,
}Expand description
Configuration for spawning a new agent
Fields§
§description: StringDescription of the task for the agent to execute
working_directory: Option<String>Optional working directory for file operations
max_iterations: Option<u32>Optional maximum number of iterations (default: 100)
enable_validation: Option<bool>Enable automatic validation checks before completion
build_type: Option<String>Build type for validation (e.g. “npm”, “cargo”, “typescript”)
extra: Option<Value>Opaque blob for implementation-specific config (e.g. MDAP settings)
Trait Implementations§
Source§impl Clone for SpawnConfig
impl Clone for SpawnConfig
Source§fn clone(&self) -> SpawnConfig
fn clone(&self) -> SpawnConfig
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 SpawnConfig
impl Debug for SpawnConfig
Source§impl<'de> Deserialize<'de> for SpawnConfig
impl<'de> Deserialize<'de> for SpawnConfig
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
Auto Trait Implementations§
impl Freeze for SpawnConfig
impl RefUnwindSafe for SpawnConfig
impl Send for SpawnConfig
impl Sync for SpawnConfig
impl Unpin for SpawnConfig
impl UnsafeUnpin for SpawnConfig
impl UnwindSafe for SpawnConfig
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