Enum dmntk_model::model::HitPolicy [−][src]
pub enum HitPolicy { Unique, Any, Priority, First, Collect(BuiltinAggregator), OutputOrder, RuleOrder, }
Expand description
Hit policy.
Variants
UNIQUE
hit policy. No overlapping rules are allowed, only single rule can be matched.
This is the default value for hit policy (DMN 1.2 clause 8.2.10).
Crosstab decision tables may have only unique hit policy.
ANY
hit policy. Rules may overlap, but all matching rules show equal output entries.
If matching rules have non-equal output entries, this policy is incorrect and the
result is undefined.
PRIORITY
hit policy. Multiple rules can match, with different output entries for each output.
This policy returns matching rule with the highest priority.
Output priorities are specified in the ordered list of output values,
in decreasing order of priority.
FIRST
hit policy…
Collect(BuiltinAggregator)
COLLECT
hit policy…
OUTPUT ORDER
hit policy…
RULE ORDER
hit policy…
Trait Implementations
impl Copy for HitPolicy
[src]
impl StructuralPartialEq for HitPolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for HitPolicy
impl Send for HitPolicy
impl Sync for HitPolicy
impl Unpin for HitPolicy
impl UnwindSafe for HitPolicy
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more