pub struct CompiledCondition {
pub field: Option<String>,
pub predicates: Vec<(ConditionOperator, f64)>,
}Expand description
Compiled threshold condition with one or more predicates (supports ranges).
Fields§
§field: Option<String>Optional field name for value_count, value_sum, value_avg, value_percentile.
predicates: Vec<(ConditionOperator, f64)>One or more predicates to satisfy (all must be true for the condition to match).
Implementations§
Trait Implementations§
Source§impl Clone for CompiledCondition
impl Clone for CompiledCondition
Source§fn clone(&self) -> CompiledCondition
fn clone(&self) -> CompiledCondition
Returns a duplicate 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 CompiledCondition
impl RefUnwindSafe for CompiledCondition
impl Send for CompiledCondition
impl Sync for CompiledCondition
impl Unpin for CompiledCondition
impl UnsafeUnpin for CompiledCondition
impl UnwindSafe for CompiledCondition
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