pub struct CompiledCondition {
pub field: Option<Vec<String>>,
pub predicates: Vec<(ConditionOperator, f64)>,
pub percentile: Option<u64>,
}Expand description
Compiled threshold condition with one or more predicates (supports ranges).
Fields§
§field: Option<Vec<String>>Optional field name(s) for value_count, value_sum, value_avg, value_percentile. When multiple fields are present, value_count counts distinct tuples.
predicates: Vec<(ConditionOperator, f64)>One or more predicates to satisfy (all must be true for the condition to match).
percentile: Option<u64>Percentile rank (0-100) for value_percentile type.
None means use the default (50).
Implementations§
Trait Implementations§
Source§impl Clone for CompiledCondition
impl Clone for CompiledCondition
Auto 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