SchemaExtPl

Trait SchemaExtPl 

Source
pub trait SchemaExtPl {
    // Required methods
    fn matches_schema(
        &self,
        other: &Schema<DataType>,
    ) -> Result<bool, PolarsError>;
    fn ensure_is_exact_match(
        &self,
        other: &Schema<DataType>,
    ) -> Result<(), PolarsError>;
}

Required Methods§

Source

fn matches_schema(&self, other: &Schema<DataType>) -> Result<bool, PolarsError>

Source

fn ensure_is_exact_match( &self, other: &Schema<DataType>, ) -> Result<(), PolarsError>

Implementations on Foreign Types§

Source§

impl SchemaExtPl for Schema<DataType>

Source§

fn matches_schema(&self, other: &Schema<DataType>) -> Result<bool, PolarsError>

Source§

fn ensure_is_exact_match( &self, other: &Schema<DataType>, ) -> Result<(), PolarsError>

Implementors§