pub struct CommandHandlerEntry {
pub command_name: String,
pub options: JobOptions,
pub dedup: Option<DedupConfig>,
pub invoke: CommandInvokeFn,
}Expand description
Metadata + invoker for one registered command handler.
Fields§
§command_name: String§options: JobOptions§dedup: Option<DedupConfig>§invoke: CommandInvokeFnTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CommandHandlerEntry
impl !UnwindSafe for CommandHandlerEntry
impl Freeze for CommandHandlerEntry
impl Send for CommandHandlerEntry
impl Sync for CommandHandlerEntry
impl Unpin for CommandHandlerEntry
impl UnsafeUnpin for CommandHandlerEntry
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