pub struct SubscribeMeta {
pub progress_token: Option<ProgressToken>,
pub extra: Option<Map<String, Value>>,
}Expand description
See General fields: _meta for notes on _meta usage.
JSON schema
{
"description": "See [General fields: _meta](https://modelcontextprotocol.io/specification/2025-11-25/basic/index#meta) for notes on _meta usage.",
"type": "object",
"properties": {
"progressToken": {
"description": "If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.",
"$ref": "#/$defs/ProgressToken"
}
},
"additionalProperties": {}
}Fields§
§progress_token: Option<ProgressToken>If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
extra: Option<Map<String, Value>>Trait Implementations§
Source§impl Clone for SubscribeMeta
impl Clone for SubscribeMeta
Source§fn clone(&self) -> SubscribeMeta
fn clone(&self) -> SubscribeMeta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubscribeMeta
impl Debug for SubscribeMeta
Source§impl Default for SubscribeMeta
impl Default for SubscribeMeta
Source§fn default() -> SubscribeMeta
fn default() -> SubscribeMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscribeMeta
impl<'de> Deserialize<'de> for SubscribeMeta
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 SubscribeMeta
impl RefUnwindSafe for SubscribeMeta
impl Send for SubscribeMeta
impl Sync for SubscribeMeta
impl Unpin for SubscribeMeta
impl UnwindSafe for SubscribeMeta
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