A container for self-describing data, used to eliminate the
need for an Option
wrapper when extracting a SchemaKey
with the typeclasses.ExtractSchemaKey type class.
- Type parameters:
- D
Any generic type that can represent a piece of self-describing data. (See also typeclasses.ExtractSchemaKey.)
- Value parameters:
- data
The data blob itself.
- schema
A reference to a self-describing schema.
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any