daw::json::RightBoundRuleConstructor struct

Constructs RightBoundRule from nullable JSON fields, applying defaults.

Public functions

auto operator()(const OptSingleId& reservoir, std::vector<RightBoundSegment> segments, OptReal cap, OptReal floor) const -> RightBoundRule