pub struct CommandGroup {
pub name: String,
pub commands: Vec<Command>,
pub command_groups: Option<Vec<CommandGroup>>,
}Fields§
§name: String§commands: Vec<Command>§command_groups: Option<Vec<CommandGroup>>Trait Implementations§
Source§impl Clone for CommandGroup
impl Clone for CommandGroup
Source§impl Debug for CommandGroup
impl Debug for CommandGroup
Source§impl Default for CommandGroup
impl Default for CommandGroup
Source§impl<'de> Deserialize<'de> for CommandGroup
impl<'de> Deserialize<'de> for CommandGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CommandGroup
impl RefUnwindSafe for CommandGroup
impl Send for CommandGroup
impl Sync for CommandGroup
impl Unpin for CommandGroup
impl UnsafeUnpin 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