pub trait ToDFSchemawhere
    Self: Sized,{
    // Required method
    fn to_dfschema(self) -> Result<DFSchema>;

    // Provided method
    fn to_dfschema_ref(self) -> Result<DFSchemaRef> { ... }
}
Expand description

Convenience trait to convert Schema like things to DFSchema and DFSchemaRef with fewer keystrokes

Required Methods§

source

fn to_dfschema(self) -> Result<DFSchema>

Attempt to create a DSSchema

Provided Methods§

source

fn to_dfschema_ref(self) -> Result<DFSchemaRef>

Attempt to create a DSSchemaRef

Implementations on Foreign Types§

source§

impl ToDFSchema for Vec<DFField>

source§

impl ToDFSchema for SchemaRef

source§

impl ToDFSchema for Schema

Implementors§