pub struct Condition {
pub field: String,
pub operator: Operator,
pub value: Value,
}Expand description
Represents a single condition in a rule
Fields§
§field: StringThe field name to evaluate
operator: OperatorThe comparison operator to use
value: ValueThe value to compare against
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnwindSafe for Condition
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