pub struct SubAgentRequest {
pub description: String,
pub prompt: String,
pub timeout: Option<Duration>,
}Expand description
Request to spawn a sub-agent.
Fields§
§description: StringShort description of the task (shown in status/logs).
prompt: StringDetailed instructions for the sub-agent.
timeout: Option<Duration>Optional timeout (falls back to executor default if None).
Trait Implementations§
Source§impl Clone for SubAgentRequest
impl Clone for SubAgentRequest
Source§fn clone(&self) -> SubAgentRequest
fn clone(&self) -> SubAgentRequest
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 SubAgentRequest
impl RefUnwindSafe for SubAgentRequest
impl Send for SubAgentRequest
impl Sync for SubAgentRequest
impl Unpin for SubAgentRequest
impl UnsafeUnpin for SubAgentRequest
impl UnwindSafe for SubAgentRequest
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