pub struct SubagentPrepared {
pub task_description: String,
pub allowed_tool_names: Vec<String>,
pub system_prompt: String,
pub model_override: Option<String>,
}Expand description
Prepared subagent execution — caller converts into Task + AgentContext.
Fields§
§task_description: StringTask description (rendered instructions)
allowed_tool_names: Vec<String>Tool names allowed for this skill (filtered from available tools)
system_prompt: StringSystem prompt for the subagent
model_override: Option<String>Optional model override
Trait Implementations§
Source§impl Clone for SubagentPrepared
impl Clone for SubagentPrepared
Source§fn clone(&self) -> SubagentPrepared
fn clone(&self) -> SubagentPrepared
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 moreAuto Trait Implementations§
impl Freeze for SubagentPrepared
impl RefUnwindSafe for SubagentPrepared
impl Send for SubagentPrepared
impl Sync for SubagentPrepared
impl Unpin for SubagentPrepared
impl UnsafeUnpin for SubagentPrepared
impl UnwindSafe for SubagentPrepared
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