pub enum ComparisonOperator {
Show 17 variants
Equal,
NotEqual,
LessThan,
LessThanOrEqual,
GreaterThan,
GreaterThanOrEqual,
In,
NotIn,
Like,
NotLike,
Between,
NotBetween,
IsNull,
IsNotNull,
Regex,
Contains,
ContainsKey,
}Expand description
Comparison operators
Variants§
Equal
Equality
NotEqual
Inequality
LessThan
Less than
LessThanOrEqual
Less than or equal
GreaterThan
Greater than
GreaterThanOrEqual
Greater than or equal
In
IN operator
NotIn
NOT IN operator
Like
LIKE operator (pattern matching)
NotLike
NOT LIKE operator
Between
BETWEEN operator
NotBetween
NOT BETWEEN operator
IsNull
IS NULL
IsNotNull
IS NOT NULL
Regex
Regular expression matching
Contains
Collection CONTAINS
ContainsKey
Collection CONTAINS KEY
Trait Implementations§
Source§impl Clone for ComparisonOperator
impl Clone for ComparisonOperator
Source§fn clone(&self) -> ComparisonOperator
fn clone(&self) -> ComparisonOperator
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 Debug for ComparisonOperator
impl Debug for ComparisonOperator
Source§impl<'de> Deserialize<'de> for ComparisonOperator
impl<'de> Deserialize<'de> for ComparisonOperator
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 PartialEq for ComparisonOperator
impl PartialEq for ComparisonOperator
Source§fn eq(&self, other: &ComparisonOperator) -> bool
fn eq(&self, other: &ComparisonOperator) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComparisonOperator
impl Serialize for ComparisonOperator
impl StructuralPartialEq for ComparisonOperator
Auto Trait Implementations§
impl Freeze for ComparisonOperator
impl RefUnwindSafe for ComparisonOperator
impl Send for ComparisonOperator
impl Sync for ComparisonOperator
impl Unpin for ComparisonOperator
impl UnsafeUnpin for ComparisonOperator
impl UnwindSafe for ComparisonOperator
Blanket Implementations§
impl<T> Allocation for T
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