pub trait ToAvro {
    fn avro(self) -> Value;
}
👎 Deprecated since 0.11.0:

Please use Value::from, Into::into or value.into() instead

Expand description

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

Required Methods

👎 Deprecated since 0.11.0:

Please use Value::from, Into::into or value.into() instead

Transforms this value into an Avro-compatible Value.

Implementors