Struct ExprAllOp
pub struct ExprAllOp {
pub lhs: Box<Expr>,
pub op: BinaryOp,
pub rhs: Box<Expr>,
}Expand description
lhs <op> ALL(rhs) predicate against an array-valued operand.
Evaluates to true only if lhs <op> item holds for every item in
rhs. Modeled on sqlparser-rs’s AllOp. Toasty currently lowers
NOT IN (...) to this with BinaryOp::Ne, but the operator is carried
separately so the shape generalizes to other comparisons.
Fields§
§lhs: Box<Expr>The scalar operand on the left.
op: BinaryOpThe comparison operator applied between lhs and each element of rhs.
rhs: Box<Expr>The array-typed operand on the right (typically Expr::Arg(n) of
Type::List(elem)).
Trait Implementations§
impl StructuralPartialEq for ExprAllOp
Auto Trait Implementations§
impl Freeze for ExprAllOp
impl RefUnwindSafe for ExprAllOp
impl Send for ExprAllOp
impl Sync for ExprAllOp
impl Unpin for ExprAllOp
impl UnsafeUnpin for ExprAllOp
impl UnwindSafe for ExprAllOp
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