Type Alias inquire::autocompletion::Replacement

source ·
pub type Replacement = Option<String>;
Expand description

Used when an autocompletion is triggered for the user’s text input.

None means that no completion will be made. Some(String) will replace the current text input with the String in Some.

Aliased Type§

enum Replacement {
    None,
    Some(String),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(String)

Some value of type T.