pub struct CronCancelCommand {
pub scheduler: Arc<CronScheduler>,
}Expand description
/cron-cancel <id> — Cancel a scheduled task.
Fields§
§scheduler: Arc<CronScheduler>Trait Implementations§
Source§impl SlashCommand for CronCancelCommand
impl SlashCommand for CronCancelCommand
Source§fn description(&self) -> &str
fn description(&self) -> &str
Short description shown in
/help.Source§fn execute(&self, args: &str, _ctx: &CommandContext) -> CommandOutput
fn execute(&self, args: &str, _ctx: &CommandContext) -> CommandOutput
Execute the command with the given arguments.
Auto Trait Implementations§
impl Freeze for CronCancelCommand
impl RefUnwindSafe for CronCancelCommand
impl Send for CronCancelCommand
impl Sync for CronCancelCommand
impl Unpin for CronCancelCommand
impl UnsafeUnpin for CronCancelCommand
impl UnwindSafe for CronCancelCommand
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