pub struct CronListCommand {
pub scheduler: Arc<CronScheduler>,
}Expand description
/cron-list — List all active scheduled tasks.
Fields§
§scheduler: Arc<CronScheduler>Trait Implementations§
Source§impl SlashCommand for CronListCommand
impl SlashCommand for CronListCommand
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 CronListCommand
impl RefUnwindSafe for CronListCommand
impl Send for CronListCommand
impl Sync for CronListCommand
impl Unpin for CronListCommand
impl UnsafeUnpin for CronListCommand
impl UnwindSafe for CronListCommand
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