Struct inquire::OptionAnswer [−][src]
Expand description
Represents a selection made by the CLI user when prompted to select one or several options among those presented.
Fields
index: usize
Index in the original collection of the selected option.
value: String
String value of the select option.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OptionAnswer
impl Send for OptionAnswer
impl Sync for OptionAnswer
impl Unpin for OptionAnswer
impl UnwindSafe for OptionAnswer
Blanket Implementations
Mutably borrows from an owned value. Read more