pub trait ReadableWithIndex: Sized {
fn read<T: ColumnIndex>(_: &Statement, _: T) -> Result<Self>;
}
Expand description
A type suitable for reading from a prepared statement given a column index.
Required Methods§
sourcefn read<T: ColumnIndex>(_: &Statement, _: T) -> Result<Self>
fn read<T: ColumnIndex>(_: &Statement, _: T) -> Result<Self>
Read from a column.
In case of integer indices, the first column has index 0.