nautilus_serialization::arrow

Trait ArrowSchemaProvider

Source
pub trait ArrowSchemaProvider {
    // Required method
    fn get_schema(metadata: Option<HashMap<String, String>>) -> Schema;

    // Provided method
    fn get_schema_map() -> HashMap<String, String> { ... }
}

Required Methods§

Source

fn get_schema(metadata: Option<HashMap<String, String>>) -> Schema

Provided Methods§

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.

Implementations on Foreign Types§

Source§

impl ArrowSchemaProvider for Bar

Source§

fn get_schema(metadata: Option<HashMap<String, String>>) -> Schema

Source§

impl ArrowSchemaProvider for OrderBookDelta

Source§

fn get_schema(metadata: Option<HashMap<String, String>>) -> Schema

Source§

impl ArrowSchemaProvider for OrderBookDepth10

Source§

fn get_schema(metadata: Option<HashMap<String, String>>) -> Schema

Source§

impl ArrowSchemaProvider for QuoteTick

Source§

fn get_schema(metadata: Option<HashMap<String, String>>) -> Schema

Source§

impl ArrowSchemaProvider for TradeTick

Source§

fn get_schema(metadata: Option<HashMap<String, String>>) -> Schema

Implementors§