pub trait ToAvro { // Required method fn avro(self) -> Value; }
Any structure implementing the ToAvro trait will be usable from a Writer.
Transforms this value into an Avro-compatible Value.