pub struct Options {
pub query: String,
pub text_input: bool,
pub choices: Vec<Choice>,
}Expand description
The options that the user has for the next choice in the Builder.
Fields§
§query: StringA textual message with the query to show to the user.
text_input: boolWhether the user can insert raw textual inputs (i.e. Input::Text).
choices: Vec<Choice>The list of all the choices the user can use.
Trait Implementations§
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more