#[non_exhaustive]pub enum BinOper {
Show 30 variants
And,
Or,
Like,
NotLike,
Is,
IsNot,
In,
NotIn,
Between,
NotBetween,
Equal,
NotEqual,
SmallerThan,
GreaterThan,
SmallerThanOrEqual,
GreaterThanOrEqual,
Add,
Sub,
Mul,
Div,
Mod,
BitAnd,
BitOr,
LShift,
RShift,
As,
Escape,
Custom(&'static str),
PgOperator(PgBinOper),
SqliteOperator(SqliteBinOper),
}Expand description
Binary operators.
If something is not supported here, you can use BinOper::Custom.
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.
And
Or
Like
NotLike
Is
IsNot
In
NotIn
Between
NotBetween
Equal
NotEqual
SmallerThan
GreaterThan
SmallerThanOrEqual
GreaterThanOrEqual
Add
Sub
Mul
Div
Mod
BitAnd
BitOr
LShift
RShift
As
Escape
Custom(&'static str)
PgOperator(PgBinOper)
Available on crate feature
backend-postgres only.SqliteOperator(SqliteBinOper)
Available on crate feature
backend-sqlite only.Trait Implementationsยง
Sourceยงimpl From<SqliteBinOper> for BinOper
Available on crate feature backend-sqlite only.
impl From<SqliteBinOper> for BinOper
Available on crate feature
backend-sqlite only.Sourceยงfn from(o: SqliteBinOper) -> Self
fn from(o: SqliteBinOper) -> Self
Converts to this type from the input type.
impl Copy for BinOper
impl Eq for BinOper
impl StructuralPartialEq for BinOper
Auto Trait Implementationsยง
impl Freeze for BinOper
impl RefUnwindSafe for BinOper
impl Send for BinOper
impl Sync for BinOper
impl Unpin for BinOper
impl UnwindSafe for BinOper
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