pub struct Between {
pub expression: Box<Expression>,
pub low: Box<Expression>,
pub high: Box<Expression>,
pub negated: bool,
}Expand description
expression [NOT] BETWEEN low AND high.
PHP: Utopia\Query\AST\Expression\Between (expression, low, high, negated).
Fields§
§expression: Box<Expression>The tested expression.
low: Box<Expression>The lower bound.
high: Box<Expression>The upper bound.
negated: boolNOT BETWEEN.
Implementations§
Source§impl Between
impl Between
Sourcepub fn new(
expression: impl Into<Expression>,
low: impl Into<Expression>,
high: impl Into<Expression>,
negated: bool,
) -> Self
pub fn new( expression: impl Into<Expression>, low: impl Into<Expression>, high: impl Into<Expression>, negated: bool, ) -> Self
expression BETWEEN low AND high, or NOT BETWEEN when negated.
PHP: new Between($expression, $low, $high, $negated).
Trait Implementations§
Source§impl From<Between> for Expression
impl From<Between> for Expression
impl StructuralPartialEq for Between
Auto Trait Implementations§
impl Forget for Between
impl Freeze for Between
impl Move for Between
impl RefUnwindSafe for Betweenwhere
Atomic<*mut ()>: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
OnceLock<Index>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
impl Send for Betweenwhere
BoxRaw<Expression>: Send,
impl Sync for Betweenwhere
BoxRaw<Expression>: Sync,
impl Unpin for Between
impl UnsafeUnpin for Between
impl UnwindSafe for Betweenwhere
BoxRaw<Expression>: UnwindSafe,
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