pub struct ExprNot {
pub expr: Box<Expr>,
}Expand description
Negates a boolean expression.
Returns true if the inner expression evaluates to false, and vice versa.
Returns NULL if the inner expression evaluates to NULL.
§Examples
not(true) // returns `false`
not(false) // returns `true`
not(null) // returns `null`Fields§
§expr: Box<Expr>The expression to negate.
Trait Implementations§
impl StructuralPartialEq for ExprNot
Auto Trait Implementations§
impl Freeze for ExprNot
impl RefUnwindSafe for ExprNot
impl Send for ExprNot
impl Sync for ExprNot
impl Unpin for ExprNot
impl UnwindSafe for ExprNot
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