Trait apache_avro::schema_equality::SchemataEq

source ·
pub trait SchemataEq:
    Debug
    + Send
    + Sync {
    // Required method
    fn compare(&self, schema_one: &Schema, schema_two: &Schema) -> bool;
}
Expand description

A trait that compares two schemata for equality. To register a custom one use set_schemata_equality_comparator.

Required Methods§

source

fn compare(&self, schema_one: &Schema, schema_two: &Schema) -> bool

Compares two schemata for equality.

Implementors§