pub struct ToolCallStats {
pub total: i64,
pub successful: i64,
}Expand description
Per-tool call statistics used during policy evaluation.
Fields§
§total: i64Total number of times the tool was called.
successful: i64Number of calls where is_error = false (confirmed successful). NULL is_error values are NOT counted as successful.
Trait Implementations§
Source§impl Clone for ToolCallStats
impl Clone for ToolCallStats
Source§impl Debug for ToolCallStats
impl Debug for ToolCallStats
Auto Trait Implementations§
impl Forget for ToolCallStats
impl Freeze for ToolCallStats
impl RefUnwindSafe for ToolCallStats
impl Send for ToolCallStats
impl Sync for ToolCallStats
impl Unpin for ToolCallStats
impl UnsafeUnpin for ToolCallStats
impl UnwindSafe for ToolCallStats
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