Enum dsntk_model::BuiltinAggregator
source · pub enum BuiltinAggregator {
List,
Count,
Sum,
Min,
Max,
}Expand description
Aggregator function for COLLECT hit policy.
Variants§
List
The result of the decision table is a list of output entries.
Count
The result of the decision table is the number of outputs.
Sum
The result of the decision table is the sum of all the outputs.
Min
The result of the decision table is the smallest value of all the outputs.
Max
The result of the decision table is the largest value of all the outputs.
Trait Implementations§
source§impl Clone for BuiltinAggregator
impl Clone for BuiltinAggregator
source§fn clone(&self) -> BuiltinAggregator
fn clone(&self) -> BuiltinAggregator
Returns a copy 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 moresource§impl Debug for BuiltinAggregator
impl Debug for BuiltinAggregator
source§impl Display for BuiltinAggregator
impl Display for BuiltinAggregator
Implementation of Display for BuiltinAggregator.
source§impl PartialEq for BuiltinAggregator
impl PartialEq for BuiltinAggregator
source§fn eq(&self, other: &BuiltinAggregator) -> bool
fn eq(&self, other: &BuiltinAggregator) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for BuiltinAggregator
impl Eq for BuiltinAggregator
impl StructuralEq for BuiltinAggregator
impl StructuralPartialEq for BuiltinAggregator
Auto Trait Implementations§
impl RefUnwindSafe for BuiltinAggregator
impl Send for BuiltinAggregator
impl Sync for BuiltinAggregator
impl Unpin for BuiltinAggregator
impl UnwindSafe for BuiltinAggregator
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.