#[non_exhaustive]pub enum BinOper {
Show 29 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),
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)
SqliteOperator(SqliteBinOper)
Trait Implementations§
Source§impl From<SqliteBinOper> for BinOper
impl From<SqliteBinOper> for BinOper
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