pub struct SubscriptionsListenResultMetaObject {
pub io_modelcontextprotocol_server_info: Option<Implementation>,
pub io_modelcontextprotocol_subscription_id: RequestId,
pub extra: Option<Map<String, Value>>,
}Expand description
Latest MCP Protocol 2026_07_28 Extends {@link ResultMetaObject} with the subscription-stream identifier carried by a {@link SubscriptionsListenResult}. All key naming rules from MetaObject apply.
JSON schema
{
"description": "Extends {@link ResultMetaObject} with the subscription-stream identifier carried by a\n{@link SubscriptionsListenResult}. All key naming rules from MetaObject apply.",
"type": "object",
"required": [
"io.modelcontextprotocol/subscriptionId"
],
"properties": {
"io.modelcontextprotocol/serverInfo": {
"description": "Identifies the server software producing the response. Servers SHOULD\ninclude this field on every response unless specifically configured not\nto do so.\n\nThe {@link Implementation} schema requires name and version; other\nfields are optional.\n\nThe value is self-reported by the server and is not verified by the\nprotocol. It is intended for display, logging, and debugging. Clients\nSHOULD NOT use it to change their behavior, and SHOULD NOT rely on it for\nsecurity decisions.",
"$ref": "#/$defs/Implementation"
},
"io.modelcontextprotocol/subscriptionId": {
"description": "Identifies the subscription stream this response closes, so the client can\ncorrelate it with the originating subscription — mirroring the same key on\nthe stream's notifications. The value is the JSON-RPC ID of the\nsubscriptions/listen request that opened the stream (and equals this\nresponse's id).",
"$ref": "#/$defs/RequestId"
}
},
"additionalProperties": {}
}Fields§
§io_modelcontextprotocol_server_info: Option<Implementation>Identifies the server software producing the response. Servers SHOULD include this field on every response unless specifically configured not to do so. The {@link Implementation} schema requires name and version; other fields are optional. The value is self-reported by the server and is not verified by the protocol. It is intended for display, logging, and debugging. Clients SHOULD NOT use it to change their behavior, and SHOULD NOT rely on it for security decisions.
io_modelcontextprotocol_subscription_id: RequestIdIdentifies the subscription stream this response closes, so the client can correlate it with the originating subscription — mirroring the same key on the stream’s notifications. The value is the JSON-RPC ID of the subscriptions/listen request that opened the stream (and equals this response’s id).
extra: Option<Map<String, Value>>Trait Implementations§
Source§impl Clone for SubscriptionsListenResultMetaObject
impl Clone for SubscriptionsListenResultMetaObject
Source§fn clone(&self) -> SubscriptionsListenResultMetaObject
fn clone(&self) -> SubscriptionsListenResultMetaObject
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more