pub struct CommandSummary {
pub id: String,
pub invocation: String,
pub summary: String,
pub origin: String,
pub effect: String,
pub group: Option<String>,
pub projections: Projections,
}Expand description
One command, as an index shows it: enough to choose, never enough to have to skim.
Fields§
§id: StringThe canonical identity.
invocation: StringThe command line a person types.
summary: StringOne line.
origin: StringWhich program runs it.
effect: StringWhat running it changes.
group: Option<String>The group it is found under.
projections: ProjectionsWhere it appears.
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 (const: unstable) · 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
Source§impl JsonSchema for CommandSummary
impl JsonSchema for CommandSummary
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for CommandSummary
impl RefUnwindSafe for CommandSummary
impl Send for CommandSummary
impl Sync for CommandSummary
impl Unpin for CommandSummary
impl UnsafeUnpin 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