pub enum ToolsEvent {
ToolStarted {
tool_name: String,
tool_call_id: String,
node: String,
input: Value,
timestamp: DateTime<Utc>,
},
ToolOutputDelta {
tool_call_id: String,
delta: String,
},
ToolFinished {
tool_call_id: String,
output: Value,
duration_ms: u64,
success: bool,
},
ToolError {
tool_call_id: String,
error: String,
},
}Expand description
Tool execution event
Variants§
Trait Implementations§
Source§impl Clone for ToolsEvent
impl Clone for ToolsEvent
Source§fn clone(&self) -> ToolsEvent
fn clone(&self) -> ToolsEvent
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 ToolsEvent
impl RefUnwindSafe for ToolsEvent
impl Send for ToolsEvent
impl Sync for ToolsEvent
impl Unpin for ToolsEvent
impl UnsafeUnpin for ToolsEvent
impl UnwindSafe for ToolsEvent
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