Function serde_rusqlite::from_row
source · pub fn from_row<'row, D: DeserializeOwned>(row: &'row Row<'_, '_>) -> Result<D>
Expand description
Deserializes an instance of D: serde::Deserialize
from rusqlite::Row
. This function will not work for
deserialization into types that need field names, but don’t carry them on their own, e.g. Map
.
You should supply this function to query_map()