pub enum RuleOp {
Eq,
Ne,
Gt,
Gte,
Lt,
Lte,
Contains,
}Expand description
A comparison operator in a status-inference rule.
Variants§
Eq
field == value (string/number/bool equality).
Ne
field != value.
Gt
field > value (numeric).
Gte
field >= value (numeric).
Lt
field < value (numeric).
Lte
field <= value (numeric).
Contains
field contains value (substring).
Trait Implementations§
impl Copy for RuleOp
Source§impl<'de> Deserialize<'de> for RuleOp
impl<'de> Deserialize<'de> for RuleOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RuleOp
impl StructuralPartialEq for RuleOp
Auto Trait Implementations§
impl Freeze for RuleOp
impl RefUnwindSafe for RuleOp
impl Send for RuleOp
impl Sync for RuleOp
impl Unpin for RuleOp
impl UnsafeUnpin for RuleOp
impl UnwindSafe for RuleOp
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