Skip to main content

Module schema

Module schema 

Source
Expand description

Schema types describing event layouts.

A SchemaEntry defines the name and fields of an event type. The SchemaRegistry tracks all registered schemas and assigns wire type IDs.

Structs§

FieldAnnotation
A per-field annotation carrying arbitrary key-value metadata.
FieldDef
A single field within a schema: a name and a FieldType.
SchemaEntry
Describes the layout of an event type. Does not carry a wire type ID — the ID is assigned by the encoder and tracked externally by the registry.
SchemaRegistry