pub fn from_row<D: DeserializeOwned>(row: &Row<'_>) -> Result<D>
Expand description

Deserializes an instance of D: serde::Deserialize from rusqlite::Row

Calling this function incurs allocation and processing overhead because we need to fetch column names from the row. So use with care when calling this function in a loop or check from_row_with_columns() to avoid that overhead.

You should supply this function to query_map().