pub enum QueuePendingItemsKind {
Message,
Command,
Unknown,
}Expand description
Whether this item is a queued user message or a queued slash command / model change
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Message
A queued user message.
Command
A queued slash command or model-change command.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for QueuePendingItemsKind
impl Clone for QueuePendingItemsKind
Source§fn clone(&self) -> QueuePendingItemsKind
fn clone(&self) -> QueuePendingItemsKind
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 Debug for QueuePendingItemsKind
impl Debug for QueuePendingItemsKind
Source§impl Default for QueuePendingItemsKind
impl Default for QueuePendingItemsKind
Source§fn default() -> QueuePendingItemsKind
fn default() -> QueuePendingItemsKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueuePendingItemsKind
impl<'de> Deserialize<'de> for QueuePendingItemsKind
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 QueuePendingItemsKind
Source§impl PartialEq for QueuePendingItemsKind
impl PartialEq for QueuePendingItemsKind
Source§fn eq(&self, other: &QueuePendingItemsKind) -> bool
fn eq(&self, other: &QueuePendingItemsKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for QueuePendingItemsKind
impl Serialize for QueuePendingItemsKind
impl StructuralPartialEq for QueuePendingItemsKind
Auto Trait Implementations§
impl Freeze for QueuePendingItemsKind
impl RefUnwindSafe for QueuePendingItemsKind
impl Send for QueuePendingItemsKind
impl Sync for QueuePendingItemsKind
impl Unpin for QueuePendingItemsKind
impl UnsafeUnpin for QueuePendingItemsKind
impl UnwindSafe for QueuePendingItemsKind
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