pub enum FilterOperator {
Show 14 variants
Eq,
Ne,
Gt,
Lt,
Gte,
Lte,
Like,
ILike,
In,
NotIn,
IsNull,
IsNotNull,
Between,
Contains,
}Expand description
Filter operators for querying data
Variants§
Eq
Equal to (=)
Ne
Not equal to (!=)
Gt
Greater than (>)
Lt
Less than (<)
Gte
Greater than or equal to (>=)
Lte
Less than or equal to (<=)
Like
SQL LIKE pattern matching
ILike
Case-insensitive LIKE (PostgreSQL ILIKE)
In
Value in array (IN)
NotIn
Value not in array (NOT IN)
IsNull
Is NULL
IsNotNull
Is NOT NULL
Between
Between two values
Contains
Contains (for arrays/JSON)
Trait Implementations§
Source§impl Clone for FilterOperator
impl Clone for FilterOperator
Source§fn clone(&self) -> FilterOperator
fn clone(&self) -> FilterOperator
Returns a duplicate 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 FilterOperator
impl Debug for FilterOperator
Source§impl<'de> Deserialize<'de> for FilterOperator
impl<'de> Deserialize<'de> for FilterOperator
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FilterOperator, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FilterOperator, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FilterOperator
impl PartialEq for FilterOperator
Source§impl Serialize for FilterOperator
impl Serialize for FilterOperator
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for FilterOperator
impl StructuralPartialEq for FilterOperator
Auto Trait Implementations§
impl Freeze for FilterOperator
impl RefUnwindSafe for FilterOperator
impl Send for FilterOperator
impl Sync for FilterOperator
impl Unpin for FilterOperator
impl UnwindSafe for FilterOperator
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