Struct repl_rs::HelpContext[][src]

pub struct HelpContext {
    pub app_name: String,
    pub app_version: String,
    pub app_purpose: String,
    pub help_entries: Vec<HelpEntry>,
}
Expand description

Struct which gets sent to HelpViewer when help command is called

Fields

app_name: String

Application name

app_version: String

Application version

app_purpose: String

Application purpose/description

help_entries: Vec<HelpEntry>

List of help entries

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.