pub struct McpMeta {
pub meta: Option<Value>,
pub structured_content: Option<Value>,
pub resource_links: Vec<ResourceLink>,
}Expand description
MCP metadata passed through on user-message wrappers.
Fields§
§meta: Option<Value>§structured_content: Option<Value>§resource_links: Vec<ResourceLink>The resource_link content blocks the MCP tool returned, collected
from the raw result before the CLI rewrites each into the
[Resource link: NAME] URI text line the model reads. At most 50
links and 64 KiB serialized; absent when the result had none.
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
impl StructuralPartialEq for McpMeta
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