Module avro

Source

Structs§

DebugValue
A struct to enhance the debug output of various Avro types.
DecimalValue
Schema
Represents any valid Avro schema More information about Avro schemas can be found in the Avro Specification
SchemaNode

Enums§

SchemaKind
This type is used to simplify enum variant comparison between Schema and types::Value.
SchemaPiece
SchemaPieceOrNamed
Value
Represents any valid Avro value More information about Avro values can be found in the Avro Specification

Traits§

ToAvro
Any structure implementing the ToAvro trait will be usable from a Writer.

Functions§

from_avro_datum
Decode a Value encoded in Avro format given its Schema and anything implementing io::Read to read from.
from_confluent_bytes
Decodes an Avro datum from its Confluent-formatted byte representation.
from_json
parse_schema
to_avro_datum
Encode a compatible value (implementing the ToAvro trait) into Avro format, also performing schema validation.