pub struct McpToolCallResult {
pub content: Vec<McpContent>,
pub is_error: bool,
}Expand description
MCP tool call result.
Fields§
§content: Vec<McpContent>Content items returned by the tool.
is_error: boolWhether this is an error result.
Trait Implementations§
Source§impl Clone for McpToolCallResult
impl Clone for McpToolCallResult
Source§fn clone(&self) -> McpToolCallResult
fn clone(&self) -> McpToolCallResult
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 McpToolCallResult
impl Debug for McpToolCallResult
Source§impl<'de> Deserialize<'de> for McpToolCallResult
impl<'de> Deserialize<'de> for McpToolCallResult
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 McpToolCallResult
impl RefUnwindSafe for McpToolCallResult
impl Send for McpToolCallResult
impl Sync for McpToolCallResult
impl Unpin for McpToolCallResult
impl UnwindSafe for McpToolCallResult
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