pub struct McpCallOutput {
pub arguments: String,
pub id: String,
pub name: String,
pub server_label: String,
pub error: Option<String>,
pub output: Option<String>,
}
Expand description
Output of an MCP server tool invocation.
Fields§
§arguments: String
JSON string of the arguments passed.
id: String
Unique ID of the MCP call.
name: String
Name of the tool invoked.
server_label: String
Label of the MCP server.
error: Option<String>
Error message from the call, if any.
output: Option<String>
Output from the call, if any.
Trait Implementations§
Source§impl Clone for McpCallOutput
impl Clone for McpCallOutput
Source§fn clone(&self) -> McpCallOutput
fn clone(&self) -> McpCallOutput
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 McpCallOutput
impl Debug for McpCallOutput
Source§impl<'de> Deserialize<'de> for McpCallOutput
impl<'de> Deserialize<'de> for McpCallOutput
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 McpCallOutput
impl PartialEq for McpCallOutput
Source§impl Serialize for McpCallOutput
impl Serialize for McpCallOutput
impl StructuralPartialEq for McpCallOutput
Auto Trait Implementations§
impl Freeze for McpCallOutput
impl RefUnwindSafe for McpCallOutput
impl Send for McpCallOutput
impl Sync for McpCallOutput
impl Unpin for McpCallOutput
impl UnwindSafe for McpCallOutput
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