pub struct McpResponseMeta(pub Meta);Available on non-
target_family=wasm only.Expand description
The response _meta an MCP tool answered with, on the context’s result
map for result hooks.
Tuple Fields§
§0: MetaTrait Implementations§
Source§impl Clone for McpResponseMeta
impl Clone for McpResponseMeta
Source§impl ContextValue for McpResponseMeta
impl ContextValue for McpResponseMeta
Source§impl Debug for McpResponseMeta
impl Debug for McpResponseMeta
Source§impl Default for McpResponseMeta
impl Default for McpResponseMeta
Source§impl<'de> Deserialize<'de> for McpResponseMeta
impl<'de> Deserialize<'de> for McpResponseMeta
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 McpResponseMeta
impl PartialEq for McpResponseMeta
Source§impl Serialize for McpResponseMeta
impl Serialize for McpResponseMeta
impl StructuralPartialEq for McpResponseMeta
Auto Trait Implementations§
impl Freeze for McpResponseMeta
impl RefUnwindSafe for McpResponseMeta
impl Send for McpResponseMeta
impl Sync for McpResponseMeta
impl Unpin for McpResponseMeta
impl UnsafeUnpin for McpResponseMeta
impl UnwindSafe for McpResponseMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.