Function serde_rusqlite::from_rows_ref_with_columns
source · pub fn from_rows_ref_with_columns<'rows, 'stmt, D: DeserializeOwned, S: AsRef<str>>(
rows: &'rows mut Rows<'stmt>,
columns: &'rows [S]
) -> DeserRowsRef<'rows, 'stmt, D, S> ⓘ
Expand description
Returns iterator that borrows rusqlite::Rows
and deserializes records from it into instances of D: serde::Deserialize
Use this function instead of from_rows_with_columns()
when you still need iterator with the remaining rows after
deserializing some of them.