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