Expand description
API value for a rule result, ShowData.prefilled, or ShowData.suggestion.
This is the single API-facing value representation shared by all three sites, expanded
into every declared unit for measure/ratio. 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.prefilled, 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. - rule_
result_ value_ from_ literal - Build a
RuleResultValuefrom a canonicalLiteralValue.