pub struct PromptListChangedNotification {
pub method: MustBeStr<((n, o, t, i), (f, i, c, a, t, i), (o, n, s, char<'/'>, p, r), (o, m, p, t, s, char<'/'>), (l, i, s, t, char<'_'>, c), (h, a, n, g, e, d))>,
pub params: Option<PromptListChangedNotificationParams>,
pub extra: Map<String, Value>,
}
Expand description
An optional notification from the server to the client, informing it that the list of prompts 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<'/'>, p, r), (o, m, p, t, s, char<'/'>), (l, i, s, t, char<'_'>, c), (h, a, n, g, e, d))>
§params: Option<PromptListChangedNotificationParams>
§extra: Map<String, Value>
Additional parameters that are not part of the schema.
Trait Implementations§
Source§impl Clone for PromptListChangedNotification
impl Clone for PromptListChangedNotification
Source§fn clone(&self) -> PromptListChangedNotification
fn clone(&self) -> PromptListChangedNotification
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 PromptListChangedNotification
impl<'de> Deserialize<'de> for PromptListChangedNotification
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 PromptListChangedNotification
impl PartialEq for PromptListChangedNotification
Source§fn eq(&self, other: &PromptListChangedNotification) -> bool
fn eq(&self, other: &PromptListChangedNotification) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PromptListChangedNotification
Auto Trait Implementations§
impl Freeze for PromptListChangedNotification
impl RefUnwindSafe for PromptListChangedNotification
impl Send for PromptListChangedNotification
impl Sync for PromptListChangedNotification
impl Unpin for PromptListChangedNotification
impl UnwindSafe for PromptListChangedNotification
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