pub struct CommandInvoked {
pub name: String,
pub args: String,
}Expand description
Host→ext when the user runs a slash command.
Fields§
§name: String§args: StringTrait Implementations§
Source§impl Clone for CommandInvoked
impl Clone for CommandInvoked
Source§fn clone(&self) -> CommandInvoked
fn clone(&self) -> CommandInvoked
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 CommandInvoked
impl Debug for CommandInvoked
Source§impl Default for CommandInvoked
impl Default for CommandInvoked
Source§fn default() -> CommandInvoked
fn default() -> CommandInvoked
Returns the “default value” for a type. Read more
impl Eq for CommandInvoked
Source§impl PartialEq for CommandInvoked
impl PartialEq for CommandInvoked
impl StructuralPartialEq for CommandInvoked
Auto Trait Implementations§
impl Freeze for CommandInvoked
impl RefUnwindSafe for CommandInvoked
impl Send for CommandInvoked
impl Sync for CommandInvoked
impl Unpin for CommandInvoked
impl UnsafeUnpin for CommandInvoked
impl UnwindSafe for CommandInvoked
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.