pub struct CancelledParams {
pub request_id: RequestId,
pub reason: Option<String>,
}
Expand description
Parameters for cancelled notification
Fields§
§request_id: RequestId
ID of the request being cancelled
reason: Option<String>
Optional reason for cancellation
Trait Implementations§
Source§impl Clone for CancelledParams
impl Clone for CancelledParams
Source§fn clone(&self) -> CancelledParams
fn clone(&self) -> CancelledParams
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 Debug for CancelledParams
impl Debug for CancelledParams
Source§impl<'de> Deserialize<'de> for CancelledParams
impl<'de> Deserialize<'de> for CancelledParams
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 CancelledParams
impl PartialEq for CancelledParams
Source§impl Serialize for CancelledParams
impl Serialize for CancelledParams
impl StructuralPartialEq for CancelledParams
Auto Trait Implementations§
impl Freeze for CancelledParams
impl RefUnwindSafe for CancelledParams
impl Send for CancelledParams
impl Sync for CancelledParams
impl Unpin for CancelledParams
impl UnwindSafe for CancelledParams
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