pub struct ToolListChangedNotificationParams {
pub meta: Option<Map<String, Value>>,
pub extra: Map<String, Value>,
}
Expand description
Generated from JSON schema definition for ToolListChangedNotificationParams
Fields§
§meta: Option<Map<String, Value>>
This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
extra: Map<String, Value>
Additional parameters that are not part of the schema.
Trait Implementations§
Source§impl Clone for ToolListChangedNotificationParams
impl Clone for ToolListChangedNotificationParams
Source§fn clone(&self) -> ToolListChangedNotificationParams
fn clone(&self) -> ToolListChangedNotificationParams
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 Default for ToolListChangedNotificationParams
impl Default for ToolListChangedNotificationParams
Source§fn default() -> ToolListChangedNotificationParams
fn default() -> ToolListChangedNotificationParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolListChangedNotificationParams
impl<'de> Deserialize<'de> for ToolListChangedNotificationParams
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 PartialEq for ToolListChangedNotificationParams
impl PartialEq for ToolListChangedNotificationParams
Source§fn eq(&self, other: &ToolListChangedNotificationParams) -> bool
fn eq(&self, other: &ToolListChangedNotificationParams) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ToolListChangedNotificationParams
Auto Trait Implementations§
impl Freeze for ToolListChangedNotificationParams
impl RefUnwindSafe for ToolListChangedNotificationParams
impl Send for ToolListChangedNotificationParams
impl Sync for ToolListChangedNotificationParams
impl Unpin for ToolListChangedNotificationParams
impl UnwindSafe for ToolListChangedNotificationParams
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