pub struct CommandInfo<'a> {
pub name: &'a str,
pub short: &'a char,
pub description: &'a str,
}Expand description
Information about a particular command used for output.
Fields§
§name: &'a strThe name of the command.
short: &'a charA short name for the command (alias).
description: &'a strA short description of the command’s functionality.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CommandInfo<'a>
impl<'a> RefUnwindSafe for CommandInfo<'a>
impl<'a> Send for CommandInfo<'a>
impl<'a> Sync for CommandInfo<'a>
impl<'a> Unpin for CommandInfo<'a>
impl<'a> UnsafeUnpin for CommandInfo<'a>
impl<'a> UnwindSafe for CommandInfo<'a>
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