pub struct CommandQueuedData {
pub command: String,
pub request_id: RequestId,
}Expand description
Queued slash command dispatch request for client execution
Fields§
§command: StringThe slash command text to be executed (e.g., /help, /clear)
request_id: RequestIdUnique identifier for this request; used to respond via session.respondToQueuedCommand()
Trait Implementations§
Source§impl Clone for CommandQueuedData
impl Clone for CommandQueuedData
Source§fn clone(&self) -> CommandQueuedData
fn clone(&self) -> CommandQueuedData
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 CommandQueuedData
impl Debug for CommandQueuedData
Source§impl<'de> Deserialize<'de> for CommandQueuedData
impl<'de> Deserialize<'de> for CommandQueuedData
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
Auto Trait Implementations§
impl Freeze for CommandQueuedData
impl RefUnwindSafe for CommandQueuedData
impl Send for CommandQueuedData
impl Sync for CommandQueuedData
impl Unpin for CommandQueuedData
impl UnsafeUnpin for CommandQueuedData
impl UnwindSafe for CommandQueuedData
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