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