Trait apache_avro::schema::AvroSchema
source · pub trait AvroSchema {
// Required method
fn get_schema() -> Schema;
}
Expand description
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.
Required Methods§
fn get_schema() -> Schema
Object Safety§
This trait is not object safe.