pub trait FromRow<Cols>: Sized { // Required method fn from_row(row: Row<Cols>) -> Result<Self, Error>; }
A trait for types that can be created from a Row (a postgres row containing columns as constraint by Cols).
Row
Cols
This is usually derived via FromRow and not implemented manually.
FromRow