pub enum BinaryOperator {
Show 20 variants
Equals,
NotEquals,
Greater,
GreaterOrEquals,
Less,
LessOrEquals,
Like,
NotLike,
Regexp,
NotRegexp,
In,
NotIn,
ILike,
NotILike,
Contained,
ContainedOrEquals,
Contains,
ContainsOrEquals,
EqualsAny,
NotEqualsAny,
}Expand description
Operator of an BinaryExpression
Variants§
Equals
{} = {}
NotEquals
{} <> {}
Greater
{} > {}
GreaterOrEquals
{} >= {}
Less
{} < {}
LessOrEquals
{} <= {}
Like
{} LIKE {}
NotLike
{} NOT LIKE {}
Regexp
{} REGEXP {}
NotRegexp
{} NOT REGEXP {}
In
{} IN {}
NotIn
{} NOT IN {}
ILike
Available on crate feature
postgres-only only.{} ILIKE {} (postgres feature)
NotILike
Available on crate feature
postgres-only only.{} NOT ILIKE {} (postgres feature)
Contained
Available on crate feature
postgres-only only.{} << {} for inet (postgres feature)
ContainedOrEquals
Available on crate feature
postgres-only only.{} <<= {} for inet (postgres feature)
Contains
Available on crate feature
postgres-only only.{} >> {} for inet (postgres feature)
ContainsOrEquals
Available on crate feature
postgres-only only.{} >>= {} for inet (postgres feature)
EqualsAny
Available on crate feature
postgres-only only.{} = ANY({})
NotEqualsAny
Available on crate feature
postgres-only only.{} <> ANY({})
Trait Implementations§
Source§impl Clone for BinaryOperator
impl Clone for BinaryOperator
Source§fn clone(&self) -> BinaryOperator
fn clone(&self) -> BinaryOperator
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 moreimpl Copy for BinaryOperator
Source§impl Debug for BinaryOperator
impl Debug for BinaryOperator
impl Eq for BinaryOperator
Source§impl Hash for BinaryOperator
impl Hash for BinaryOperator
Source§impl Ord for BinaryOperator
impl Ord for BinaryOperator
Source§fn cmp(&self, other: &BinaryOperator) -> Ordering
fn cmp(&self, other: &BinaryOperator) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BinaryOperator
impl PartialEq for BinaryOperator
Source§impl PartialOrd for BinaryOperator
impl PartialOrd for BinaryOperator
impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
impl Freeze for BinaryOperator
impl RefUnwindSafe for BinaryOperator
impl Send for BinaryOperator
impl Sync for BinaryOperator
impl Unpin for BinaryOperator
impl UnsafeUnpin for BinaryOperator
impl UnwindSafe for BinaryOperator
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