pub struct GuidelinesCommand;Expand description
Show current compression guidelines.
Trait Implementations§
Source§impl CommandHandler<CommandContext<'_>> for GuidelinesCommand
impl CommandHandler<CommandContext<'_>> for GuidelinesCommand
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Command name including the leading slash, e.g.
"/help". Read moreSource§fn description(&self) -> &'static str
fn description(&self) -> &'static str
One-line description shown in
/help output.Source§fn category(&self) -> SlashCategory
fn category(&self) -> SlashCategory
Category for grouping in
/help.Source§fn feature_gate(&self) -> Option<&'static str>
fn feature_gate(&self) -> Option<&'static str>
Feature gate label, if this command is conditionally compiled.
Source§fn handle<'a>(
&'a self,
ctx: &'a mut CommandContext<'_>,
_args: &'a str,
) -> Pin<Box<dyn Future<Output = Result<CommandOutput, CommandError>> + Send + 'a>>
fn handle<'a>( &'a self, ctx: &'a mut CommandContext<'_>, _args: &'a str, ) -> Pin<Box<dyn Future<Output = Result<CommandOutput, CommandError>> + Send + 'a>>
Execute the command. Read more
Auto Trait Implementations§
impl Freeze for GuidelinesCommand
impl RefUnwindSafe for GuidelinesCommand
impl Send for GuidelinesCommand
impl Sync for GuidelinesCommand
impl Unpin for GuidelinesCommand
impl UnsafeUnpin for GuidelinesCommand
impl UnwindSafe for GuidelinesCommand
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