pub struct PingCommand;Expand description
Slash command that responds with “Pong! 🏓” to verify bot responsiveness.
Trait Implementations§
Source§impl SlashCommand for PingCommand
impl SlashCommand for PingCommand
Source§fn register(&self) -> CreateCommand
fn register(&self) -> CreateCommand
Register the command with Discord.
Auto Trait Implementations§
impl Freeze for PingCommand
impl RefUnwindSafe for PingCommand
impl Send for PingCommand
impl Sync for PingCommand
impl Unpin for PingCommand
impl UnsafeUnpin for PingCommand
impl UnwindSafe for PingCommand
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