pub struct CommandTree {
pub name: String,
pub commands: Vec<CommandTree>,
}Expand description
Command tree used to print help output for the website.
Fields§
§name: StringName of the command.
commands: Vec<CommandTree>Subcommands.
Trait Implementations§
Source§impl Debug for CommandTree
impl Debug for CommandTree
Source§impl<'de> Deserialize<'de> for CommandTree
impl<'de> Deserialize<'de> for CommandTree
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
Source§impl From<&Command> for CommandTree
impl From<&Command> for CommandTree
Auto Trait Implementations§
impl Freeze for CommandTree
impl RefUnwindSafe for CommandTree
impl Send for CommandTree
impl Sync for CommandTree
impl Unpin for CommandTree
impl UnwindSafe for CommandTree
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