pub struct McpToolCall {
pub server: String,
pub tool: String,
pub success: bool,
pub timestamp: Option<String>,
pub duration_ms: Option<u64>,
}Expand description
A single MCP tool call made by an agent (Layer 4 enhancement).
Fields§
§server: StringMCP server name (e.g. “github”, “filesystem”, “database”).
tool: StringTool name (e.g. “create_pull_request”, “write_file”, “execute_query”).
success: boolWhether the call succeeded.
timestamp: Option<String>Call timestamp (ISO 8601).
duration_ms: Option<u64>Duration in milliseconds.
Trait Implementations§
Source§impl Clone for McpToolCall
impl Clone for McpToolCall
Source§fn clone(&self) -> McpToolCall
fn clone(&self) -> McpToolCall
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 McpToolCall
impl Debug for McpToolCall
Source§impl<'de> Deserialize<'de> for McpToolCall
impl<'de> Deserialize<'de> for McpToolCall
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 McpToolCall
impl PartialEq for McpToolCall
Source§impl Serialize for McpToolCall
impl Serialize for McpToolCall
impl Eq for McpToolCall
impl StructuralPartialEq for McpToolCall
Auto Trait Implementations§
impl Freeze for McpToolCall
impl RefUnwindSafe for McpToolCall
impl Send for McpToolCall
impl Sync for McpToolCall
impl Unpin for McpToolCall
impl UnsafeUnpin for McpToolCall
impl UnwindSafe for McpToolCall
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