Function serde_rusqlite::from_rows_ref
source · pub fn from_rows_ref<'rows, 'stmt, D: DeserializeOwned>(
rows: &'rows mut Rows<'stmt>
) -> DeserRowsRef<'rows, 'stmt, D, String> ⓘ
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()
when you still need iterator with the remaining rows after deserializing some
of them.