pub struct McpCallResult {
pub content: Vec<McpContent>,
pub is_error: bool,
}Expand description
Stable since 0.63.0
Result of an MCP tool call.Fields§
§content: Vec<McpContent>Content blocks returned by the tool.
is_error: boolWhether the tool reported an error.
Trait Implementations§
Source§impl Clone for McpCallResult
impl Clone for McpCallResult
Source§fn clone(&self) -> McpCallResult
fn clone(&self) -> McpCallResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 McpCallResult
impl RefUnwindSafe for McpCallResult
impl Send for McpCallResult
impl Sync for McpCallResult
impl Unpin for McpCallResult
impl UnsafeUnpin for McpCallResult
impl UnwindSafe for McpCallResult
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