pub struct McpToolResult {
pub content: Vec<McpContent>,
pub is_error: bool,
}Expand description
Result of calling an MCP tool.
Fields§
§content: Vec<McpContent>§is_error: boolTrait Implementations§
Source§impl Clone for McpToolResult
impl Clone for McpToolResult
Source§fn clone(&self) -> McpToolResult
fn clone(&self) -> McpToolResult
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 moreAuto Trait Implementations§
impl Freeze for McpToolResult
impl RefUnwindSafe for McpToolResult
impl Send for McpToolResult
impl Sync for McpToolResult
impl Unpin for McpToolResult
impl UnsafeUnpin for McpToolResult
impl UnwindSafe for McpToolResult
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