pub struct ToolUsageRecord {
pub tool_name: String,
pub tool_use_id: Option<ToolUseId>,
pub timestamp: DateTime<Utc>,
}Expand description
Record of a tool invocation.
Fields§
§tool_name: StringName of the tool (e.g., “Bash”, “Read”, “Write”)
tool_use_id: Option<ToolUseId>Unique ID for this tool invocation
timestamp: DateTime<Utc>When the tool was invoked
Trait Implementations§
Source§impl Clone for ToolUsageRecord
impl Clone for ToolUsageRecord
Source§fn clone(&self) -> ToolUsageRecord
fn clone(&self) -> ToolUsageRecord
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 ToolUsageRecord
impl RefUnwindSafe for ToolUsageRecord
impl Send for ToolUsageRecord
impl Sync for ToolUsageRecord
impl Unpin for ToolUsageRecord
impl UnsafeUnpin for ToolUsageRecord
impl UnwindSafe for ToolUsageRecord
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