#[non_exhaustive]pub enum BinaryOperator {
Show 21 variants
Or,
Xor,
And,
Equal,
NotEqual,
Less,
LessEqual,
Greater,
GreaterEqual,
RegexMatch,
In,
StartsWith,
EndsWith,
Contains,
Add,
Subtract,
Multiply,
Divide,
Remainder,
Power,
Concat,
}Expand description
An infix operator, ordered by the grammar’s precedence rules.
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.
Or
Xor
And
Equal
NotEqual
Less
LessEqual
Greater
GreaterEqual
RegexMatch
In
StartsWith
EndsWith
Contains
Add
Subtract
Multiply
Divide
Remainder
Power
Concat
Trait Implementations§
Source§impl Clone for BinaryOperator
impl Clone for BinaryOperator
impl Copy for BinaryOperator
Source§impl Debug for BinaryOperator
impl Debug for BinaryOperator
Source§impl<'de> Deserialize<'de> for BinaryOperator
impl<'de> Deserialize<'de> for BinaryOperator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BinaryOperator
Source§impl Hash for BinaryOperator
impl Hash for BinaryOperator
Source§impl PartialEq for BinaryOperator
impl PartialEq for BinaryOperator
Source§impl Serialize for BinaryOperator
impl Serialize 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