pub struct ToolExecutionOutput {
pub events: Vec<ToolExecutionEvent>,
pub results: Vec<ToolResult>,
}Expand description
Buffered output of tool execution — events in chronological order, results in the original call order.
Fields§
§events: Vec<ToolExecutionEvent>Every ToolExecutionEvent emitted during the batch, in fire order.
results: Vec<ToolResult>One ToolResult per input call, restored to declaration order.
Trait Implementations§
Source§impl Clone for ToolExecutionOutput
impl Clone for ToolExecutionOutput
Source§fn clone(&self) -> ToolExecutionOutput
fn clone(&self) -> ToolExecutionOutput
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 ToolExecutionOutput
impl RefUnwindSafe for ToolExecutionOutput
impl Send for ToolExecutionOutput
impl Sync for ToolExecutionOutput
impl Unpin for ToolExecutionOutput
impl UnsafeUnpin for ToolExecutionOutput
impl UnwindSafe for ToolExecutionOutput
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