pub enum Input {
Text(String),
Choice(String),
}
Expand description
An input of the user to the Builder
.
Variants§
Text(String)
The user inserted some raw textual content. Can be used only if the text_input
field of
the last Options
was set to true
.
Choice(String)
The user selected one of the multiple choices in the Options
. The value should be one of
the choice_id
inside the list of Choice
s of the last Options
.
Implementations§
Trait Implementations§
impl Eq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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