pub struct ToolCallRecord {
pub name: String,
pub args: Value,
}Available on crate feature
eval only.Expand description
A single tool call record for direct analysis without full Events.
Fields§
§name: StringName of the tool that was called.
args: ValueArguments passed to the tool as JSON.
Trait Implementations§
Source§impl Clone for ToolCallRecord
impl Clone for ToolCallRecord
Source§fn clone(&self) -> ToolCallRecord
fn clone(&self) -> ToolCallRecord
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 moreSource§impl Debug for ToolCallRecord
impl Debug for ToolCallRecord
Source§impl PartialEq for ToolCallRecord
impl PartialEq for ToolCallRecord
Source§fn eq(&self, other: &ToolCallRecord) -> bool
fn eq(&self, other: &ToolCallRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolCallRecord
Auto Trait Implementations§
impl Freeze for ToolCallRecord
impl RefUnwindSafe for ToolCallRecord
impl Send for ToolCallRecord
impl Sync for ToolCallRecord
impl Unpin for ToolCallRecord
impl UnsafeUnpin for ToolCallRecord
impl UnwindSafe for ToolCallRecord
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