pub struct CommandSummary {
pub name: String,
pub description: String,
pub has_subcommands: bool,
}Expand description
Summary of a command for listing
Fields§
§name: StringCommand name
description: StringBrief description
has_subcommands: boolWhether this command has subcommands
Trait Implementations§
Source§impl Clone for CommandSummary
impl Clone for CommandSummary
Source§fn clone(&self) -> CommandSummary
fn clone(&self) -> CommandSummary
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 moreSource§impl Debug for CommandSummary
impl Debug for CommandSummary
Source§impl<'de> Deserialize<'de> for CommandSummary
impl<'de> Deserialize<'de> for CommandSummary
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 CommandSummary
impl RefUnwindSafe for CommandSummary
impl Send for CommandSummary
impl Sync for CommandSummary
impl Unpin for CommandSummary
impl UnwindSafe for CommandSummary
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