Struct dmntk_model::model::DecisionTable[][src]

pub struct DecisionTable {
    pub information_item_name: Option<String>,
    pub input_clauses: Vec<InputClause>,
    pub output_clauses: Vec<OutputClause>,
    pub annotations: Vec<RuleAnnotationClause>,
    pub rules: Vec<DecisionRule>,
    pub hit_policy: HitPolicy,
    pub aggregation: Option<BuiltinAggregator>,
    pub preferred_orientation: DecisionTableOrientation,
    pub output_label: Option<String>,
}
Expand description

Decision table.

Fields

information_item_name: Option<String>

Information item name, for which the decision table is its value expression. This is usually the name of the decision or the name of business knowledge model for which the decision table provides the decision logic.

input_clauses: Vec<InputClause>

List of instances of input clause that compose this decision table.

output_clauses: Vec<OutputClause>

List of instances of output clause that compose this decision table.

annotations: Vec<RuleAnnotationClause>

List of instances of rule annotation clause that compose this decision table.

rules: Vec<DecisionRule>

List of instances of decision rule that compose this decision table.

hit_policy: HitPolicy

Hit policy associated with the instance of the decision table.

aggregation: Option<BuiltinAggregator>

Optional aggregation type when the hit policy is COLLECT.

preferred_orientation: DecisionTableOrientation

Preferred representation of the instance of the decision table.

output_label: Option<String>

Optional output label for the description of the decision table output, may be the same as the name of the information item for which the decision table is the value expression.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Implementation of Display trait for DecisionTable.

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.