Skip to main content

FromDataTable

Trait FromDataTable 

Source
pub trait FromDataTable: Sized {
    // Required method
    fn from_row(headers: &[String], row: &[String]) -> Result<Self>;
}
Expand description

Trait for converting a DataTable into typed rows.

Required Methods§

Source

fn from_row(headers: &[String], row: &[String]) -> Result<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§