pub struct ToolCallSummary {
pub total: u64,
pub allowed: u64,
pub blocked: u64,
}Expand description
Aggregate tool-call statistics for the session.
Fields§
§total: u64Total tool calls observed.
allowed: u64Calls allowed by policy.
blocked: u64Calls blocked by policy/budget/schema.
Trait Implementations§
Source§impl Clone for ToolCallSummary
impl Clone for ToolCallSummary
Source§fn clone(&self) -> ToolCallSummary
fn clone(&self) -> ToolCallSummary
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 ToolCallSummary
impl Debug for ToolCallSummary
Source§impl Default for ToolCallSummary
impl Default for ToolCallSummary
Source§fn default() -> ToolCallSummary
fn default() -> ToolCallSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolCallSummary
impl<'de> Deserialize<'de> for ToolCallSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ToolCallSummary
impl PartialEq for ToolCallSummary
Source§fn eq(&self, other: &ToolCallSummary) -> bool
fn eq(&self, other: &ToolCallSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolCallSummary
impl Serialize for ToolCallSummary
impl Eq for ToolCallSummary
impl StructuralPartialEq for ToolCallSummary
Auto Trait Implementations§
impl Freeze for ToolCallSummary
impl RefUnwindSafe for ToolCallSummary
impl Send for ToolCallSummary
impl Sync for ToolCallSummary
impl Unpin for ToolCallSummary
impl UnsafeUnpin for ToolCallSummary
impl UnwindSafe for ToolCallSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.