pub struct Command {
pub name: &'static str,
pub aliases: &'static [&'static str],
pub options: Option<&'static [&'static str]>,
}Fields§
§name: &'static str§aliases: &'static [&'static str]§options: Option<&'static [&'static str]>None where the book leaves the options to IMS’s Operations Guide: GMSG, ICMD and RCMD.
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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