NamedRecord
vecxt_re.NamedRecord
object NamedRecord
Compile-time helpers for accepting a named tuple by field name rather than by field position.
A caller may supply (id = "1", price = p, notional = n, name = "A") where the required shape is (price: Price, notional: CurrencyAmount, name: String, id: String): field order is irrelevant and extra fields are ignored, but every required field must be present with a conforming type or compilation fails.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
NamedRecord.type
Members list
In this article