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),
}