Trait bookdata::arrow::row::FrameStruct
source · pub trait FrameStruct<'a, R>{
// Required methods
fn new(df: &'a DataFrame) -> PolarsResult<Self>;
fn read_row(&mut self, idx: usize) -> Result<R, RowError>;
}
Expand description
Interface for data frame structs for deserialization.
Frame structs store references to the data frame’s columns so we only need to extract them from the frame once.
Required Methods§
fn new(df: &'a DataFrame) -> PolarsResult<Self>
fn read_row(&mut self, idx: usize) -> Result<R, RowError>
Object Safety§
This trait is not object safe.