Module spec
Expand description
A curve recipe stated as data.
A RecipeSpec is what a recipe source — a desk’s configuration, a
connector — hands over in place of builder calls. It is converted by
applying the same builder operations in the same order hand-built code
applies, so a spec is refused exactly where the builder chain would be, and
a recipe converted to a spec and back is the recipe it came from.
Structs§
- Recipe
Spec - A curve recipe stated as data: the collateral key it builds under, the currency, the discount segments in order, a source per projection index, the windows, and an optional triangulation hub.
- Window
Spec - A window the recipe fixes, as data.
Enums§
- Projection
Spec - How a projection index is sourced, as data.
- Recipe
Spec Error - Why a
RecipeSpeccould not become a recipe — always naming its key.