pub enum Input {
Fixed(Value),
Bool(Option<bool>),
Choice(Vec<String>, Option<usize>),
Text(String),
Integer(String),
Number(String),
}Variants§
Fixed(Value)
A const value: prefilled and fixed.
Bool(Option<bool>)
None until chosen.
Choice(Vec<String>, Option<usize>)
String enum options and the chosen index.
Text(String)
Integer(String)
Number(String)
Trait Implementations§
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 UnsafeUnpin 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