Enum ibuilder::Input[][src]

pub enum Input {
    Text(String),
    Choice(String),
}
Expand description

An input of the user to the Builder.

Variants

Text

The user inserted some raw textual content. Can be used only if the text_input field of the last Options was set to true.

Tuple Fields of Text

0: String
Choice

The user selected one of the multiple choices in the Options. The value should be one of the choice_id inside the list of Choices of the last Options.

Tuple Fields of Choice

0: String

Implementations

The user inserted some raw textual content. Can be used only if the text_input field of the last Options was set to true.

The user selected one of the multiple choices in the Options. The value should be one of the choice_id inside the list of Choices of the last Options.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.