Expand description
API value for a rule result, ShowData.fill, or ShowData.suggestion.
This is the single API-facing value representation shared by all three sites, expanded
into every declared unit for measure/ratio on data inputs, and into every unit in the
result type’s family for rule results. It sits at the crate root (not under
evaluation/) because planning::execution_plan::ShowData needs it too, and planning
must not import evaluation. The plan/eval-internal representation is the canonical
planning::semantics::LiteralValue; this module is the boundary between the two.
Structs§
- Calendar
Result - Calendar value (a measure whose unit is a calendar unit, e.g.
3 months) on a result. - Range
Result - Both endpoints of a range result.
- Rule
Result Value - API value shared by flattened
crate::evaluation::response::RuleResult,ShowData.fill, andShowData.suggestion.
Enums§
- Rule
Result Value Failure - Why building a
RuleResultValuefrom a canonicalLiteralValuefailed.
Functions§
- rule_
result_ value_ failure_ message - Human-readable veto message for a
RuleResultValueFailure. - type_
scoped_ result_ value_ from_ literal - Build a
RuleResultValueusing only units declared onlemma_type(Show data fill/suggestion).