pub struct HandlerCommand {
pub name: String,
pub about: String,
}Expand description
One handler-specific subcommand advertised through HandlerMeta::commands.
Fields§
§name: StringSubcommand verb, e.g. "coords".
about: StringOne-line description shown by znippy handlers.
Implementations§
Trait Implementations§
Source§impl Clone for HandlerCommand
impl Clone for HandlerCommand
Auto Trait Implementations§
impl Freeze for HandlerCommand
impl RefUnwindSafe for HandlerCommand
impl Send for HandlerCommand
impl Sync for HandlerCommand
impl Unpin for HandlerCommand
impl UnsafeUnpin for HandlerCommand
impl UnwindSafe for HandlerCommand
Blanket Implementations§
impl<T> Allocation for T
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