Function serde_rusqlite::from_rows_ref
[−]
[src]
pub fn from_rows_ref<'rows, 'stmt, D: DeserializeOwned>(
rows: &'rows mut Rows<'stmt>,
columns: &'rows [String]
) -> DeserRowsRef<'rows, 'stmt, D>
Returns iterator that borrows rusqlite::Rows
and deserializes all 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.