pub enum CompareOp {
Lt,
Lte,
Gt,
Gte,
Eq,
}Expand description
Numeric comparison operators used in Condition::NumericComparison and
DurationConstraint::Cmp.
Variants§
Lt
< – strictly less than.
Lte
<= – less than or equal.
Gt
> – strictly greater than.
Gte
>= – greater than or equal.
Eq
= – equal.
Trait Implementations§
impl Eq for CompareOp
impl StructuralPartialEq for CompareOp
Auto Trait Implementations§
impl Freeze for CompareOp
impl RefUnwindSafe for CompareOp
impl Send for CompareOp
impl Sync for CompareOp
impl Unpin for CompareOp
impl UnsafeUnpin for CompareOp
impl UnwindSafe for CompareOp
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