pub struct CancelledNotification {
pub method: MustBeStr<(n, o, (t, i, f), (i, c, a, t, i, o), (n, s, char<'/'>, c, a, n), (c, e, l, l, e, d))>,
pub params: CancelledNotificationParams,
pub extra: Map<String, Value>,
}
Expand description
This notification can be sent by either side to indicate that it is cancelling a previously-issued request.
The request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished.
This notification indicates that the result will be unused, so any associated processing SHOULD cease.
A client MUST NOT attempt to cancel its initialize
request.
Fields§
§method: MustBeStr<(n, o, (t, i, f), (i, c, a, t, i, o), (n, s, char<'/'>, c, a, n), (c, e, l, l, e, d))>
§params: CancelledNotificationParams
§extra: Map<String, Value>
Additional parameters that are not part of the schema.
Trait Implementations§
Source§impl Clone for CancelledNotification
impl Clone for CancelledNotification
Source§fn clone(&self) -> CancelledNotification
fn clone(&self) -> CancelledNotification
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 CancelledNotification
impl Debug for CancelledNotification
Source§impl<'de> Deserialize<'de> for CancelledNotification
impl<'de> Deserialize<'de> for CancelledNotification
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 CancelledNotification
impl PartialEq for CancelledNotification
Source§impl Serialize for CancelledNotification
impl Serialize for CancelledNotification
impl StructuralPartialEq for CancelledNotification
Auto Trait Implementations§
impl Freeze for CancelledNotification
impl RefUnwindSafe for CancelledNotification
impl Send for CancelledNotification
impl Sync for CancelledNotification
impl Unpin for CancelledNotification
impl UnwindSafe for CancelledNotification
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