Struct partiql_logical::NullIfExpr
source · pub struct NullIfExpr {
pub lhs: Box<ValueExpr>,
pub rhs: Box<ValueExpr>,
}
Expand description
Represents a NULLIF
expression, e.g. NULLIF(v1, v2)
in SELECT NULLIF(v1, v2) FROM data
.
Fields§
§lhs: Box<ValueExpr>
§rhs: Box<ValueExpr>
Trait Implementations§
source§impl Clone for NullIfExpr
impl Clone for NullIfExpr
source§fn clone(&self) -> NullIfExpr
fn clone(&self) -> NullIfExpr
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 NullIfExpr
impl Debug for NullIfExpr
source§impl PartialEq<NullIfExpr> for NullIfExpr
impl PartialEq<NullIfExpr> for NullIfExpr
source§fn eq(&self, other: &NullIfExpr) -> bool
fn eq(&self, other: &NullIfExpr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NullIfExpr
impl StructuralEq for NullIfExpr
impl StructuralPartialEq for NullIfExpr
Auto Trait Implementations§
impl RefUnwindSafe for NullIfExpr
impl Send for NullIfExpr
impl Sync for NullIfExpr
impl Unpin for NullIfExpr
impl UnwindSafe for NullIfExpr
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