Struct repl_rs::HelpEntry[][src]

pub struct HelpEntry {
    pub command: String,
    pub parameters: Vec<(String, bool)>,
    pub summary: Option<String>,
}
Expand description

Help entry which gets sent to HelpViewer when help for a particular command is requested

Fields

command: String

Command from help <command>

parameters: Vec<(String, bool)>

Parameters defined for the command

summary: Option<String>

Help summary for the command

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.