Trait AvroFieldExt

Source
pub trait AvroFieldExt {
    // Required method
    fn with_utf8view(&self) -> Self;
}
Expand description

Extension trait for AvroField to add Utf8View support

This trait adds methods for working with Utf8View support to the AvroField struct.

Required Methods§

Source

fn with_utf8view(&self) -> Self

Returns a new field with Utf8View support enabled for string data

This will convert any string data to use StringViewArray instead of StringArray.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§