pub struct CancelNotification {
pub session_id: SessionId,
}Expand description
session/cancel notification. Cancels the
in-flight prompt. A notification has no response;
the consumer does not await a reply.
Fields§
§session_id: SessionIdThe id of the session whose prompt should be cancelled.
Trait Implementations§
Source§impl Clone for CancelNotification
impl Clone for CancelNotification
Source§impl Debug for CancelNotification
impl Debug for CancelNotification
Source§impl<'de> Deserialize<'de> for CancelNotification
impl<'de> Deserialize<'de> for CancelNotification
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 Eq for CancelNotification
Source§impl PartialEq for CancelNotification
impl PartialEq for CancelNotification
Source§impl Serialize for CancelNotification
impl Serialize for CancelNotification
impl StructuralPartialEq for CancelNotification
Auto Trait Implementations§
impl Freeze for CancelNotification
impl RefUnwindSafe for CancelNotification
impl Send for CancelNotification
impl Sync for CancelNotification
impl Unpin for CancelNotification
impl UnsafeUnpin for CancelNotification
impl UnwindSafe for CancelNotification
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