Struct commands::parser::CompletionOption [] [src]

pub struct CompletionOption {
    pub option_string: String,
    pub complete: bool,
}

Represents a single option returned by complete.

An option may be complete, which means that it represents a syntactically complete parameter value which can be used as-is, whereas incomplete options are not valid values.

Fields

String for this option.

True if this option is complete and a valid value.

Methods

impl CompletionOption
[src]

CompletionOption constructor