pub enum OperatorType {
Show 15 variants
Comparison(ComparisonOp),
Arithmetic(ArithmeticOp),
Control(ControlOp),
String(StringOp),
Array(ArrayOp),
DateTime(DateTimeOp),
Missing,
MissingSome,
Exists,
Coalesce,
Val,
Throw,
Try,
Type,
ArrayLiteral,
}
Expand description
The type of operator.
Variants§
Comparison(ComparisonOp)
Comparison operator
Arithmetic(ArithmeticOp)
Arithmetic operator
Control(ControlOp)
Logical operator
String(StringOp)
String operator
Array(ArrayOp)
Array operator
DateTime(DateTimeOp)
DateTime operator
Missing
Missing operator
MissingSome
Missing Some operator
Exists
Exists operator
Coalesce
Coalesce operator
Val
Val operator (replacement for Var)
Throw
Throw operator
Try
Try operator (for error handling)
Type
Type operator
ArrayLiteral
Array operator (for arrays with non-literal elements)
Implementations§
Trait Implementations§
Source§impl Clone for OperatorType
impl Clone for OperatorType
Source§fn clone(&self) -> OperatorType
fn clone(&self) -> OperatorType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OperatorType
impl Debug for OperatorType
Source§impl FromStr for OperatorType
impl FromStr for OperatorType
Source§impl PartialEq for OperatorType
impl PartialEq for OperatorType
impl Copy for OperatorType
impl Eq for OperatorType
impl StructuralPartialEq for OperatorType
Auto Trait Implementations§
impl Freeze for OperatorType
impl RefUnwindSafe for OperatorType
impl Send for OperatorType
impl Sync for OperatorType
impl Unpin for OperatorType
impl UnwindSafe for OperatorType
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