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.
Value
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".