pub struct ValuePredicate {
pub column: ColumnRef,
pub eval_type: EvalType,
pub value: Value,
}Expand description
A value predicate compares a column to a literal value.
Fields§
§column: ColumnRef§eval_type: EvalType§value: ValueImplementations§
Source§impl ValuePredicate
impl ValuePredicate
pub fn new(column: ColumnRef, eval_type: EvalType, value: Value) -> Self
pub fn eq(column: ColumnRef, value: Value) -> Self
pub fn ne(column: ColumnRef, value: Value) -> Self
pub fn lt(column: ColumnRef, value: Value) -> Self
pub fn le(column: ColumnRef, value: Value) -> Self
pub fn gt(column: ColumnRef, value: Value) -> Self
pub fn ge(column: ColumnRef, value: Value) -> Self
Trait Implementations§
Source§impl Clone for ValuePredicate
impl Clone for ValuePredicate
Source§fn clone(&self) -> ValuePredicate
fn clone(&self) -> ValuePredicate
Returns a duplicate 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 ValuePredicate
impl Debug for ValuePredicate
Auto Trait Implementations§
impl Freeze for ValuePredicate
impl RefUnwindSafe for ValuePredicate
impl Send for ValuePredicate
impl Sync for ValuePredicate
impl Unpin for ValuePredicate
impl UnwindSafe for ValuePredicate
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