pub enum BinaryOperator {
Show 14 variants
And,
Or,
Eq,
NotEq,
Lt,
Lte,
Gt,
Gte,
StartsWith,
Add,
Subtract,
Multiply,
Divide,
Modulo,
}Expand description
Represents the operators used in filter expression.
Variants§
And
&& represents logical And operation.
Or
|| represents logical Or operation.
Eq
== represents left is equal to right.
NotEq
!= and <> represents left is not equal to right.
Lt
< represents left is less than right.
Lte
<= represents left is less or equal to right.
Gt
> represents left is greater than right.
Gte
>= represents left is greater than or equal to right.
StartsWith
starts with represents right is an initial substring of left.
Add
Add represents binary arithmetic + operation.
Subtract
Subtract represents binary arithmetic - operation.
Multiply
Multiply represents binary arithmetic * operation.
Divide
Divide represents binary arithmetic / operation.
Modulo
Modulo represents binary arithmetic % operation.
Trait Implementations§
Source§impl Clone for BinaryOperator
impl Clone for BinaryOperator
Source§impl Debug for BinaryOperator
impl Debug for BinaryOperator
Source§impl Display for BinaryOperator
impl Display for BinaryOperator
impl Eq for BinaryOperator
Source§impl PartialEq for BinaryOperator
impl PartialEq 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