pub enum BinaryOp {
Show 21 variants
Add,
Subtract,
Multiply,
Divide,
Modulo,
Equal,
NotEqual,
LessThan,
LessThanOrEqual,
GreaterThan,
GreaterThanOrEqual,
And,
Or,
Xor,
Concat,
In,
NotIn,
StartsWith,
EndsWith,
Contains,
Like,
}Variants§
Add
Subtract
Multiply
Divide
Modulo
Equal
NotEqual
LessThan
LessThanOrEqual
GreaterThan
GreaterThanOrEqual
And
Or
Xor
Concat
In
x IN [list] — true if x equals any element of the list
NotIn
x NOT IN [list] — true if x equals no element of the list
StartsWith
x STARTS WITH prefix — true if string x starts with prefix
EndsWith
x ENDS WITH suffix — true if string x ends with suffix
Contains
x CONTAINS substr — true if string x contains substr
Like
x LIKE pattern — true if string x matches the SQL LIKE pattern
Trait Implementations§
impl Copy for BinaryOp
impl StructuralPartialEq for BinaryOp
Auto Trait Implementations§
impl Freeze for BinaryOp
impl RefUnwindSafe for BinaryOp
impl Send for BinaryOp
impl Sync for BinaryOp
impl Unpin for BinaryOp
impl UnsafeUnpin for BinaryOp
impl UnwindSafe for BinaryOp
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