pub type SubCommandInfo = SubCommandInfo<'static>;
Expand description
Information about a subcommand.
Aliased Type§
struct SubCommandInfo {
pub name: &'static str,
pub command: CommandInfoWithArgs<'static>,
}
Fields§
§name: &'static str
The subcommand name.
command: CommandInfoWithArgs<'static>
The information about the subcommand.
Trait Implementations
§impl<'a> Serialize for SubCommandInfo<'a>
impl<'a> Serialize for SubCommandInfo<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more