pub struct ToolAuditEntry { /* private fields */ }Expand description
One audit row written per tool invocation.
The shape mirrors what tracing already records for MCP tool calls
(mcp.tools.call span with provider / transport / server metadata) but adds
enough context for offline forensics.
Trait Implementations§
Source§impl Clone for ToolAuditEntry
impl Clone for ToolAuditEntry
Source§fn clone(&self) -> ToolAuditEntry
fn clone(&self) -> ToolAuditEntry
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 ToolAuditEntry
impl Debug for ToolAuditEntry
Source§impl<'de> Deserialize<'de> for ToolAuditEntry
impl<'de> Deserialize<'de> for ToolAuditEntry
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
Auto Trait Implementations§
impl Freeze for ToolAuditEntry
impl RefUnwindSafe for ToolAuditEntry
impl Send for ToolAuditEntry
impl Sync for ToolAuditEntry
impl Unpin for ToolAuditEntry
impl UnsafeUnpin for ToolAuditEntry
impl UnwindSafe for ToolAuditEntry
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