pub enum Input {
Fixed(Value),
Bool(Option<bool>),
Choice(Vec<String>, Option<usize>),
Text(String),
Integer(String),
Number(String),
List(Vec<String>),
Groups {
fields: Vec<Field>,
items: Vec<Vec<Field>>,
},
}Variants§
Fixed(Value)
A const value: filled in 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)
List(Vec<String>)
An array of strings, one entry per item; empty entries are left out of the result.
Groups
An array of flat objects: one group of fields per item. fields is an empty item;
an item with nothing entered is left out of the result.
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