Enum fiberplane_models::providers::QueryField
source · #[non_exhaustive]pub enum QueryField {
Array(ArrayField),
Checkbox(CheckboxField),
DateTimeRange(DateTimeRangeField),
File(FileField),
Label(LabelField),
Integer(IntegerField),
Select(SelectField),
Text(TextField),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Array(ArrayField)
Checkbox(CheckboxField)
DateTimeRange(DateTimeRangeField)
File(FileField)
Label(LabelField)
Integer(IntegerField)
Select(SelectField)
Text(TextField)
Trait Implementations§
source§impl Clone for QueryField
impl Clone for QueryField
source§fn clone(&self) -> QueryField
fn clone(&self) -> QueryField
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for QueryField
impl Debug for QueryField
source§impl<'de> Deserialize<'de> for QueryField
impl<'de> Deserialize<'de> for QueryField
source§fn 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
source§impl From<ArrayField> for QueryField
impl From<ArrayField> for QueryField
source§fn from(field: ArrayField) -> Self
fn from(field: ArrayField) -> Self
Converts to this type from the input type.
source§impl From<CheckboxField> for QueryField
impl From<CheckboxField> for QueryField
source§fn from(field: CheckboxField) -> Self
fn from(field: CheckboxField) -> Self
Converts to this type from the input type.
source§impl From<DateTimeRangeField> for QueryField
impl From<DateTimeRangeField> for QueryField
source§fn from(field: DateTimeRangeField) -> Self
fn from(field: DateTimeRangeField) -> Self
Converts to this type from the input type.
source§impl From<FileField> for QueryField
impl From<FileField> for QueryField
source§impl From<IntegerField> for QueryField
impl From<IntegerField> for QueryField
source§fn from(field: IntegerField) -> Self
fn from(field: IntegerField) -> Self
Converts to this type from the input type.
source§impl From<LabelField> for QueryField
impl From<LabelField> for QueryField
source§fn from(field: LabelField) -> Self
fn from(field: LabelField) -> Self
Converts to this type from the input type.
source§impl From<SelectField> for QueryField
impl From<SelectField> for QueryField
source§fn from(field: SelectField) -> Self
fn from(field: SelectField) -> Self
Converts to this type from the input type.
source§impl From<TextField> for QueryField
impl From<TextField> for QueryField
source§impl PartialEq for QueryField
impl PartialEq for QueryField
source§fn eq(&self, other: &QueryField) -> bool
fn eq(&self, other: &QueryField) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for QueryField
impl Serialize for QueryField
impl StructuralPartialEq for QueryField
Auto Trait Implementations§
impl Freeze for QueryField
impl RefUnwindSafe for QueryField
impl Send for QueryField
impl Sync for QueryField
impl Unpin for QueryField
impl UnwindSafe for QueryField
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