[][src]Struct ibuilder::Options

pub struct Options {
    pub query: String,
    pub text_input: bool,
    pub choices: Vec<Choice>,
}

The options that the user has for the next choice in the Builder.

Fields

query: String

A textual message with the query to show to the user.

text_input: bool

Whether 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 Debug for Options[src]

impl Eq for Options[src]

impl PartialEq<Options> for Options[src]

impl StructuralEq for Options[src]

impl StructuralPartialEq for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.