pub struct ChatPendingMessageRemovedAction {
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 ChatPendingMessageRemovedAction
impl Clone for ChatPendingMessageRemovedAction
Source§fn clone(&self) -> ChatPendingMessageRemovedAction
fn clone(&self) -> ChatPendingMessageRemovedAction
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 ChatPendingMessageRemovedAction
impl<'de> Deserialize<'de> for ChatPendingMessageRemovedAction
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 StructuralPartialEq for ChatPendingMessageRemovedAction
Auto Trait Implementations§
impl Freeze for ChatPendingMessageRemovedAction
impl RefUnwindSafe for ChatPendingMessageRemovedAction
impl Send for ChatPendingMessageRemovedAction
impl Sync for ChatPendingMessageRemovedAction
impl Unpin for ChatPendingMessageRemovedAction
impl UnsafeUnpin for ChatPendingMessageRemovedAction
impl UnwindSafe for ChatPendingMessageRemovedAction
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