pub struct SubagentResult {
pub task_id: String,
pub content: String,
pub success: bool,
pub usage: TokenUsage,
}Expand description
Subagent execution result
Fields§
§task_id: StringTask identifier
content: StringExecution output content
success: boolSuccess status
usage: TokenUsageToken usage statistics
Trait Implementations§
Source§impl Clone for SubagentResult
impl Clone for SubagentResult
Source§fn clone(&self) -> SubagentResult
fn clone(&self) -> SubagentResult
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 SubagentResult
impl RefUnwindSafe for SubagentResult
impl Send for SubagentResult
impl Sync for SubagentResult
impl Unpin for SubagentResult
impl UnsafeUnpin for SubagentResult
impl UnwindSafe for SubagentResult
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