Enum sqlparser::ast::BinaryOperator
source · [−]pub enum BinaryOperator {
Show 27 variants
Plus,
Minus,
Multiply,
Divide,
Modulo,
StringConcat,
Gt,
Lt,
GtEq,
LtEq,
Spaceship,
Eq,
NotEq,
And,
Or,
Xor,
BitwiseOr,
BitwiseAnd,
BitwiseXor,
PGBitwiseXor,
PGBitwiseShiftLeft,
PGBitwiseShiftRight,
PGRegexMatch,
PGRegexIMatch,
PGRegexNotMatch,
PGRegexNotIMatch,
PGCustomBinaryOperator(Vec<String>),
}
Expand description
Binary operators
Variants
Plus
Minus
Multiply
Divide
Modulo
StringConcat
Gt
Lt
GtEq
LtEq
Spaceship
Eq
NotEq
And
Or
Xor
BitwiseOr
BitwiseAnd
BitwiseXor
PGBitwiseXor
PGBitwiseShiftLeft
PGBitwiseShiftRight
PGRegexMatch
PGRegexIMatch
PGRegexNotMatch
PGRegexNotIMatch
PGCustomBinaryOperator(Vec<String>)
PostgreSQL-specific custom operator.
See CREATE OPERATOR for more information.
Trait Implementations
sourceimpl Clone for BinaryOperator
impl Clone for BinaryOperator
sourcefn clone(&self) -> BinaryOperator
fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BinaryOperator
impl Debug for BinaryOperator
sourceimpl Display for BinaryOperator
impl Display for BinaryOperator
sourceimpl Hash for BinaryOperator
impl Hash for BinaryOperator
sourceimpl PartialEq<BinaryOperator> for BinaryOperator
impl PartialEq<BinaryOperator> for BinaryOperator
sourcefn eq(&self, other: &BinaryOperator) -> bool
fn eq(&self, other: &BinaryOperator) -> bool
impl Eq for BinaryOperator
impl StructuralEq for BinaryOperator
impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations
impl RefUnwindSafe for BinaryOperator
impl Send for BinaryOperator
impl Sync for BinaryOperator
impl Unpin for BinaryOperator
impl UnwindSafe for BinaryOperator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more