pub struct CallRecord {
pub tool_name: String,
pub method: String,
pub operation_type: OperationType,
pub timestamp: DateTime<Utc>,
}Expand description
A record of a single tool call in a session.
Fields§
§tool_name: StringThe tool that was called.
method: StringThe MCP method.
operation_type: OperationTypeClassified operation type.
timestamp: DateTime<Utc>When the call was made.
Trait Implementations§
Source§impl Clone for CallRecord
impl Clone for CallRecord
Source§fn clone(&self) -> CallRecord
fn clone(&self) -> CallRecord
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 moreSource§impl Debug for CallRecord
impl Debug for CallRecord
Source§impl<'de> Deserialize<'de> for CallRecord
impl<'de> Deserialize<'de> for CallRecord
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 CallRecord
impl RefUnwindSafe for CallRecord
impl Send for CallRecord
impl Sync for CallRecord
impl Unpin for CallRecord
impl UnsafeUnpin for CallRecord
impl UnwindSafe for CallRecord
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