pub struct CommandGroup {
pub name: String,
pub description: String,
pub subcommands: HashMap<String, Command>,
}Fields§
§name: String§description: String§subcommands: HashMap<String, Command>Implementations§
Trait Implementations§
Source§impl Clone for CommandGroup
impl Clone for CommandGroup
Source§fn clone(&self) -> CommandGroup
fn clone(&self) -> CommandGroup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CommandGroup
impl RefUnwindSafe for CommandGroup
impl Send for CommandGroup
impl Sync for CommandGroup
impl Unpin for CommandGroup
impl UnwindSafe for CommandGroup
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