pub struct CommandInfo<'a> {
pub name: &'a str,
pub description: &'a str,
}
Expand description
Information about a particular command used for output.
Fields§
§name: &'a str
The name of the command.
description: &'a str
A short description of the command’s functionality.
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> 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