pub struct RootsListChangedNotificationParams {
pub meta: Map<String, Value>,
}Expand description
RootsListChangedNotificationParams
JSON schema
{
"type": "object",
"properties": {
"_meta": {
"description": "This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.",
"type": "object",
"additionalProperties": {}
}
},
"additionalProperties": {}
}Fields§
§meta: Map<String, Value>This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
Trait Implementations§
Source§impl Clone for RootsListChangedNotificationParams
impl Clone for RootsListChangedNotificationParams
Source§fn clone(&self) -> RootsListChangedNotificationParams
fn clone(&self) -> RootsListChangedNotificationParams
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<'de> Deserialize<'de> for RootsListChangedNotificationParams
impl<'de> Deserialize<'de> for RootsListChangedNotificationParams
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 From<&RootsListChangedNotificationParams> for RootsListChangedNotificationParams
impl From<&RootsListChangedNotificationParams> for RootsListChangedNotificationParams
Source§fn from(value: &RootsListChangedNotificationParams) -> Self
fn from(value: &RootsListChangedNotificationParams) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RootsListChangedNotificationParams
impl PartialEq for RootsListChangedNotificationParams
Source§fn eq(&self, other: &RootsListChangedNotificationParams) -> bool
fn eq(&self, other: &RootsListChangedNotificationParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RootsListChangedNotificationParams
Auto Trait Implementations§
impl Freeze for RootsListChangedNotificationParams
impl RefUnwindSafe for RootsListChangedNotificationParams
impl Send for RootsListChangedNotificationParams
impl Sync for RootsListChangedNotificationParams
impl Unpin for RootsListChangedNotificationParams
impl UnwindSafe for RootsListChangedNotificationParams
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