pub enum ComparisonOperator {
Equal,
Lower,
Grater,
LowerEq,
GraterEq,
}
Expand description
Provides the available comparison operators for standardizing input for the Conditions.add_condition()
method.
The available comparison operators are:
Equal
: Represents the equality condition, where the column and the value are chained by “=”Lower
: Represents the less than condition, where the column and the value are chained by “<”Greater
: Represents the greater than condition, where the column and the value are chained by “>”LowerEq
: Represents the less than or equal to condition, where the column and the value are chained by “<=”GreaterEq
: Represents the greater than or equal to condition, where the column and the value are chained by “>=”
Variants§
Trait Implementations§
Source§impl Clone for ComparisonOperator
impl Clone for ComparisonOperator
Source§fn clone(&self) -> ComparisonOperator
fn clone(&self) -> ComparisonOperator
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ComparisonOperator
impl RefUnwindSafe for ComparisonOperator
impl Send for ComparisonOperator
impl Sync for ComparisonOperator
impl Unpin for ComparisonOperator
impl UnwindSafe for ComparisonOperator
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