pub struct SessionPendingMessageRemovedAction {
pub kind: PendingMessageKind,
pub id: String,
}Expand description
A pending message was removed (steering or queued).
Dispatched by clients to cancel a pending message, or by the server when it consumes a message (e.g. starting a turn from a queued message or injecting a steering message into the current turn).
Fields§
§kind: PendingMessageKindWhether this is a steering or queued message
id: StringIdentifier of the pending message to remove
Trait Implementations§
Source§impl Clone for SessionPendingMessageRemovedAction
impl Clone for SessionPendingMessageRemovedAction
Source§fn clone(&self) -> SessionPendingMessageRemovedAction
fn clone(&self) -> SessionPendingMessageRemovedAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionPendingMessageRemovedAction
impl<'de> Deserialize<'de> for SessionPendingMessageRemovedAction
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 SessionPendingMessageRemovedAction
impl PartialEq for SessionPendingMessageRemovedAction
Source§fn eq(&self, other: &SessionPendingMessageRemovedAction) -> bool
fn eq(&self, other: &SessionPendingMessageRemovedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionPendingMessageRemovedAction
Auto Trait Implementations§
impl Freeze for SessionPendingMessageRemovedAction
impl RefUnwindSafe for SessionPendingMessageRemovedAction
impl Send for SessionPendingMessageRemovedAction
impl Sync for SessionPendingMessageRemovedAction
impl Unpin for SessionPendingMessageRemovedAction
impl UnsafeUnpin for SessionPendingMessageRemovedAction
impl UnwindSafe for SessionPendingMessageRemovedAction
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