pub trait ArrowSchemaProvider {
// Required method
fn get_schema(metadata: Option<HashMap<String, String>>) -> Schema;
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
}Expand description
Provides Apache Arrow schema definitions for data types.
Required Methods§
Provided Methods§
Sourcefn get_schema_map() -> HashMap<String, String>
fn get_schema_map() -> HashMap<String, String>
Returns a map of field names to their Arrow data types.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".