Struct datafusion_expr::expr::BinaryExpr
source · pub struct BinaryExpr {
pub left: Box<Expr>,
pub op: Operator,
pub right: Box<Expr>,
}
Expand description
Binary expression
Fields§
§left: Box<Expr>
Left-hand side of the expression
op: Operator
The comparison operator
right: Box<Expr>
Right-hand side of the expression
Implementations§
Trait Implementations§
source§impl Clone for BinaryExpr
impl Clone for BinaryExpr
source§fn clone(&self) -> BinaryExpr
fn clone(&self) -> BinaryExpr
Returns a copy 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 BinaryExpr
impl Debug for BinaryExpr
source§impl Display for BinaryExpr
impl Display for BinaryExpr
source§impl Hash for BinaryExpr
impl Hash for BinaryExpr
source§impl PartialEq<BinaryExpr> for BinaryExpr
impl PartialEq<BinaryExpr> for BinaryExpr
source§fn eq(&self, other: &BinaryExpr) -> bool
fn eq(&self, other: &BinaryExpr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BinaryExpr
impl StructuralEq for BinaryExpr
impl StructuralPartialEq for BinaryExpr
Auto Trait Implementations§
impl !RefUnwindSafe for BinaryExpr
impl Send for BinaryExpr
impl Sync for BinaryExpr
impl Unpin for BinaryExpr
impl !UnwindSafe for BinaryExpr
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.