pub trait FromRow { // Required method fn from_row(row: &Row) -> Result<Self, Error> where Self: Sized; }
Trait for converting database rows to Rust structs. This trait is implemented by the derive macro FromRow.
FromRow
Converts a database row to a Rust struct.
row
Result<Self, Error>