pub struct SlashCommand {
pub name: String,
pub description: String,
pub aliases: Vec<String>,
}Expand description
A skill-backed slash command. Runtime built-ins are not offered.
Fields§
§name: String§description: String§aliases: Vec<String>Trait Implementations§
Source§impl Clone for SlashCommand
impl Clone for SlashCommand
Source§impl Debug for SlashCommand
impl Debug for SlashCommand
impl Eq for SlashCommand
Source§impl PartialEq for SlashCommand
impl PartialEq for SlashCommand
impl StructuralPartialEq for SlashCommand
Auto Trait Implementations§
impl Forget for SlashCommand
impl Freeze for SlashCommand
impl Move for SlashCommand
impl RefUnwindSafe for SlashCommand
impl Send for SlashCommand
impl Sync for SlashCommand
impl Unpin for SlashCommand
impl UnsafeUnpin for SlashCommand
impl UnwindSafe for SlashCommand
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.