pub enum BinaryOp {
Show 16 variants
Concat,
Add,
Sub,
Mul,
Div,
Rem,
And,
Or,
Eq,
Ne,
Gt,
Gte,
Lt,
Lte,
IsNull,
IsNotNull,
}Expand description
Binary operators for expressions
Variants§
Concat
String concatenation ||.
Add
Addition +.
Sub
Subtraction -.
Mul
Multiplication *.
Div
Division /.
Rem
Modulo (%)
And
Logical AND.
Or
Logical OR.
Eq
Equals =.
Ne
Not equals <>.
Gt
Greater than >.
Gte
Greater than or equal >=.
Lt
Less than <.
Lte
Less than or equal <=.
IsNull
IS NULL.
IsNotNull
IS NOT NULL.
Trait Implementations§
impl Copy for BinaryOp
impl Eq 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