pub struct McpMeta {
pub meta: Option<HashMap<String, Value>>,
pub structured_content: Option<HashMap<String, Value>>,
}Expand description
MCP metadata passed through to SDK consumers.
Fields§
§meta: Option<HashMap<String, Value>>§structured_content: Option<HashMap<String, Value>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for McpMeta
impl<'de> Deserialize<'de> for McpMeta
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 McpMeta
impl RefUnwindSafe for McpMeta
impl Send for McpMeta
impl Sync for McpMeta
impl Unpin for McpMeta
impl UnsafeUnpin for McpMeta
impl UnwindSafe for McpMeta
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