pub struct ToolListChangedNotification {
pub method: MustBeStr<((n, o), (t, i, f, i, c, a), (t, i, o, n, s, char<'/'>), (t, o, o, l, s, char<'/'>), (l, i, s, t, char<'_'>, c), (h, a, n, g, e, d))>,
pub params: Option<ToolListChangedNotificationParams>,
pub extra: Map<String, Value>,
}
Expand description
An optional notification from the server to the client, informing it that the list of tools it offers has changed. This may be issued by servers without any previous subscription from the client.
Fields§
§method: MustBeStr<((n, o), (t, i, f, i, c, a), (t, i, o, n, s, char<'/'>), (t, o, o, l, s, char<'/'>), (l, i, s, t, char<'_'>, c), (h, a, n, g, e, d))>
§params: Option<ToolListChangedNotificationParams>
§extra: Map<String, Value>
Additional parameters that are not part of the schema.
Trait Implementations§
Source§impl Clone for ToolListChangedNotification
impl Clone for ToolListChangedNotification
Source§fn clone(&self) -> ToolListChangedNotification
fn clone(&self) -> ToolListChangedNotification
Returns a copy 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 ToolListChangedNotification
impl Debug for ToolListChangedNotification
Source§impl<'de> Deserialize<'de> for ToolListChangedNotification
impl<'de> Deserialize<'de> for ToolListChangedNotification
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 ToolListChangedNotification
Auto Trait Implementations§
impl Freeze for ToolListChangedNotification
impl RefUnwindSafe for ToolListChangedNotification
impl Send for ToolListChangedNotification
impl Sync for ToolListChangedNotification
impl Unpin for ToolListChangedNotification
impl UnwindSafe for ToolListChangedNotification
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