pub struct ToolCallResult {
pub id: String,
pub name: String,
pub args: String,
pub result: Value,
}Expand description
The result of a completed tool invocation.
Yielded as AgentEvent::ToolResult after the tool has finished executing.
Fields§
§id: String§name: String§args: String§result: ValueTrait Implementations§
Source§impl Clone for ToolCallResult
impl Clone for ToolCallResult
Source§fn clone(&self) -> ToolCallResult
fn clone(&self) -> ToolCallResult
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 ToolCallResult
impl RefUnwindSafe for ToolCallResult
impl Send for ToolCallResult
impl Sync for ToolCallResult
impl Unpin for ToolCallResult
impl UnsafeUnpin for ToolCallResult
impl UnwindSafe for ToolCallResult
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