Module schema

Source
Expand description

Logic for parsing and interacting with schemas in Avro format.

Modules§

derive

Structs§

Alias
Newtype pattern for Name to better control the serde_json::Value representation. Aliases are serialized as an array of plain strings in the JSON representation.
ArraySchema
DecimalSchema
A description of a Union schema.
EnumSchema
A description of an Enum schema.
EnumSchemaBuilder
Use builder syntax to set the inputs and finish with build().
FixedSchema
A description of a Union schema.
FixedSchemaBuilder
Use builder syntax to set the inputs and finish with build().
MapSchema
Name
Represents names for record, enum and fixed Avro schemas.
RecordField
Represents a field in a record Avro schema.
RecordFieldBuilder
Use builder syntax to set the inputs and finish with build().
RecordSchema
A description of an Enum schema.
RecordSchemaBuilder
Use builder syntax to set the inputs and finish with build().
ResolvedSchema
SchemaFingerprint
Represents an Avro schema fingerprint More information about Avro schema fingerprints can be found in the Avro Schema Fingerprint documentation
UnionSchema
A description of a Union schema

Enums§

RecordFieldOrder
Represents any valid order for a field in a record Avro schema.
Schema
Represents any valid Avro schema More information about Avro schemas can be found in the Avro Specification
SchemaKind
Auto-generated discriminant enum variants

Traits§

AvroSchema
Trait for types that serve as an Avro data model. Derive implementation available through derive feature. Do not implement directly! Implement apache_avro::schema::derive::AvroSchemaComponent to get this trait through a blanket implementation.

Type Aliases§

Aliases
Represents the aliases for Named Schema
Documentation
Represents documentation for complex Avro schemas.
NamesRef
Represents Schema lookup within a schema
Namespace
Represents the namespace for Named Schema