PgResultRow

Trait PgResultRow 

Source
pub trait PgResultRow {
    const COLUMN_NAMES: NamesList;
    const COL_RS_TYPES: NamesList;
    const TYPE_CHECKS: RespTypeChecks;

    // Required method
    fn from_row(row: Row) -> Result<Self, Error>
       where Self: Sized;
}
Expand description

Trait for code generated by the compact_sql::PgResultRow derive macro.

Required Associated Constants§

Required Methods§

Source

fn from_row(row: Row) -> Result<Self, Error>
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§