pub enum CompareOperator {
Equal,
NotEqual,
Less,
LessOrEqual,
Greater,
GreaterOrEqual,
}Expand description
Ordered comparison operator for one resolved field.
Variants§
Equal
Exact type-and-value equality.
NotEqual
Exact inequality; missing still evaluates false.
Less
Less than, only between the same value variants.
LessOrEqual
Less than or equal, only between the same value variants.
Greater
Greater than, only between the same value variants.
GreaterOrEqual
Greater than or equal, only between the same value variants.
Trait Implementations§
Source§impl Clone for CompareOperator
impl Clone for CompareOperator
Source§fn clone(&self) -> CompareOperator
fn clone(&self) -> CompareOperator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompareOperator
Source§impl Debug for CompareOperator
impl Debug for CompareOperator
impl Eq for CompareOperator
Source§impl PartialEq for CompareOperator
impl PartialEq for CompareOperator
impl StructuralPartialEq for CompareOperator
Auto Trait Implementations§
impl Freeze for CompareOperator
impl RefUnwindSafe for CompareOperator
impl Send for CompareOperator
impl Sync for CompareOperator
impl Unpin for CompareOperator
impl UnsafeUnpin for CompareOperator
impl UnwindSafe for CompareOperator
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