pub struct AgentSpawnRequest {
pub id: String,
pub name: String,
pub role: AgentRole,
pub workspace_dir: Option<PathBuf>,
pub execution_mode: AgentExecutionMode,
pub capabilities: Vec<String>,
}Expand description
Spawn configuration for a managed agent.
Fields§
§id: StringUnique agent identifier.
name: StringHuman-readable agent name.
role: AgentRoleSpecialist role.
workspace_dir: Option<PathBuf>Workspace path assigned to the agent.
execution_mode: AgentExecutionModeExecution mode for the agent.
capabilities: Vec<String>Capability tags this agent should advertise.
Implementations§
Trait Implementations§
Source§impl Clone for AgentSpawnRequest
impl Clone for AgentSpawnRequest
Source§fn clone(&self) -> AgentSpawnRequest
fn clone(&self) -> AgentSpawnRequest
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 AgentSpawnRequest
impl Debug for AgentSpawnRequest
Source§impl<'de> Deserialize<'de> for AgentSpawnRequest
impl<'de> Deserialize<'de> for AgentSpawnRequest
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 AgentSpawnRequest
impl RefUnwindSafe for AgentSpawnRequest
impl Send for AgentSpawnRequest
impl Sync for AgentSpawnRequest
impl Unpin for AgentSpawnRequest
impl UnwindSafe for AgentSpawnRequest
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