Enum tribble_app::parser::InputType
source · [−]pub enum InputType {
}Expand description
The possible types an input can have.
Variants
Boolean
Fields
A list of tags that will be accumulated if this boolean is set to true.
A boolean input.
Multiline
A multiline text input.
Color
A color picker (only in supported browsers).
Text
A simple text element (default).
Date
A date input.
DatetimeLocal
A datetime input, with no time offset (by UTC has been deprecated at the standard-level).
Email
An email input.
Month
A month input.
Number
Fields
A numerical input.
Password
A password input (characters are obfuscated).
Range
A range slider.
Tel
A telephone number input.
Time
A time picker.
Url
A URL input.
Week
A week input.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for InputType
impl<'de> Deserialize<'de> for InputType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InputType
impl Send for InputType
impl Sync for InputType
impl Unpin for InputType
impl UnwindSafe for InputType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more