pub struct ToolCallEvent {
pub id: String,
pub name: String,
pub args: Value,
pub result: Value,
}Expand description
Tool call event (result).
Represents a single tool invocation result produced by the agent.
Fields§
§id: String§name: String§args: Value§result: ValueTrait Implementations§
Source§impl Clone for ToolCallEvent
impl Clone for ToolCallEvent
Source§fn clone(&self) -> ToolCallEvent
fn clone(&self) -> ToolCallEvent
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 ToolCallEvent
impl RefUnwindSafe for ToolCallEvent
impl Send for ToolCallEvent
impl Sync for ToolCallEvent
impl Unpin for ToolCallEvent
impl UnsafeUnpin for ToolCallEvent
impl UnwindSafe for ToolCallEvent
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