[−][src]Function serde_rusqlite::from_rows
ⓘImportant traits for DeserRows<'rows, D, S>
pub fn from_rows<'rows, D: DeserializeOwned>(
rows: Rows<'rows>
) -> DeserRows<'rows, D, String>
Returns iterator that owns rusqlite::Rows
and deserializes all records from it into instances of D: serde::Deserialize
.
Also see from_row()
for some specific info.
This function covers most of the use cases and is easier to use than the alternative from_rows_ref_with_columns()
.