pub struct SubagentTask {
pub id: String,
pub description: String,
pub prompt: String,
pub subagent_type: String,
pub isolation: String,
pub work_path: Option<PathBuf>,
}Expand description
Subagent task definition
Fields§
§id: StringUnique task identifier
description: StringTask description (3-5 words)
prompt: StringFull task prompt with context
subagent_type: StringAgent type: “general-purpose”, “Explore”, “Plan”
isolation: StringIsolation mode: “none”, “worktree”
work_path: Option<PathBuf>Working directory path
Trait Implementations§
Source§impl Clone for SubagentTask
impl Clone for SubagentTask
Source§fn clone(&self) -> SubagentTask
fn clone(&self) -> SubagentTask
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SubagentTask
impl RefUnwindSafe for SubagentTask
impl Send for SubagentTask
impl Sync for SubagentTask
impl Unpin for SubagentTask
impl UnsafeUnpin for SubagentTask
impl UnwindSafe for SubagentTask
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