pub struct EnumNullableFilter<E> {
pub equals: Option<E>,
pub not: Option<Box<EnumNullableFilter<E>>>,
pub in_list: Option<Vec<E>>,
pub not_in: Option<Vec<E>>,
pub is_null: Option<bool>,
}Expand description
Filter operators for a nullable enum-typed column.
Fields§
§equals: Option<E>column = value
not: Option<Box<EnumNullableFilter<E>>>Negation.
in_list: Option<Vec<E>>column IN (...)
not_in: Option<Vec<E>>column NOT IN (...)
is_null: Option<bool>IS NULL / IS NOT NULL.
Trait Implementations§
Source§impl<E: Clone> Clone for EnumNullableFilter<E>
impl<E: Clone> Clone for EnumNullableFilter<E>
Source§fn clone(&self) -> EnumNullableFilter<E>
fn clone(&self) -> EnumNullableFilter<E>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<E: Debug> Debug for EnumNullableFilter<E>
impl<E: Debug> Debug for EnumNullableFilter<E>
Source§impl<E: Default> Default for EnumNullableFilter<E>
impl<E: Default> Default for EnumNullableFilter<E>
Source§fn default() -> EnumNullableFilter<E>
fn default() -> EnumNullableFilter<E>
Returns the “default value” for a type. Read more
Source§impl<'de, E> Deserialize<'de> for EnumNullableFilter<E>where
E: Serialize + for<'de2> Deserialize<'de2>,
impl<'de, E> Deserialize<'de> for EnumNullableFilter<E>where
E: Serialize + for<'de2> Deserialize<'de2>,
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<E: PartialEq> PartialEq for EnumNullableFilter<E>
impl<E: PartialEq> PartialEq for EnumNullableFilter<E>
Source§fn eq(&self, other: &EnumNullableFilter<E>) -> bool
fn eq(&self, other: &EnumNullableFilter<E>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<E: ToString> ScalarFilter for EnumNullableFilter<E>
impl<E: ToString> ScalarFilter for EnumNullableFilter<E>
Source§impl<E> Serialize for EnumNullableFilter<E>where
E: Serialize + for<'de2> Deserialize<'de2>,
impl<E> Serialize for EnumNullableFilter<E>where
E: Serialize + for<'de2> Deserialize<'de2>,
impl<E: Eq> Eq for EnumNullableFilter<E>
impl<E> StructuralPartialEq for EnumNullableFilter<E>
Auto Trait Implementations§
impl<E> Freeze for EnumNullableFilter<E>where
E: Freeze,
impl<E> RefUnwindSafe for EnumNullableFilter<E>where
E: RefUnwindSafe,
impl<E> Send for EnumNullableFilter<E>where
E: Send,
impl<E> Sync for EnumNullableFilter<E>where
E: Sync,
impl<E> Unpin for EnumNullableFilter<E>where
E: Unpin,
impl<E> UnsafeUnpin for EnumNullableFilter<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for EnumNullableFilter<E>where
E: UnwindSafe,
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