pub enum WhereExpr {
And(Box<WhereExpr>, Box<WhereExpr>),
Or(Box<WhereExpr>, Box<WhereExpr>),
Condition(Condition),
True,
}Expand description
A WHERE expression tree supporting AND, OR, and leaf conditions.
Variants§
And(Box<WhereExpr>, Box<WhereExpr>)
AND of two sub-expressions.
Or(Box<WhereExpr>, Box<WhereExpr>)
OR of two sub-expressions.
Condition(Condition)
A single scalar condition.
True
Always-true — used when there is no WHERE clause.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WhereExpr
impl RefUnwindSafe for WhereExpr
impl Send for WhereExpr
impl Sync for WhereExpr
impl Unpin for WhereExpr
impl UnsafeUnpin for WhereExpr
impl UnwindSafe for WhereExpr
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