fn build<R: diesel::row::NamedRow<Pg>>(row: &R) -> diesel::deserialize::Result<Self> {
        Ok(RawHistory {
            id: row.get("id")?,
            entity: row.get("entity")?,
            entity_id: row.get("entity_id")?,
            data: row.get::<Nullable<Jsonb>, _>("data_before")?,
            op: row.get("op_id")?,
        })
    }
// Extract one RawHistory entry from the database. The names of the columns
// must follow exactly the names used in the queries in revert_block
Extract one RawHistory entry from the database. The names of the columns
must follow exactly the names used in the queries in revert_block
Extract one RawHistory entry from the database . The names of the columns must follow exactly the names used in the queries in revert_block
fn build<R: diesel::row::NamedRow<Pg>>(row: &R) -> diesel::deserialize::Result<Self> {
        Ok(RawHistory {
            id: row.get("id")?,
            entity: row.get("entity")?,
            entity_id: row.get("entity_id")?,
            data: row.get::<Nullable<Jsonb>, _>("data_before")?,
            op: row.get("op_id")?,
        })
    }
fn build < R : diesel :: row :: NamedRow < Pg > > ( row : & R ) -> diesel :: deserialize :: Result < Self > { Ok ( RawHistory { id : row . get ( " " ) ? , entity : row . get ( " " ) ? , entity_id : row . get ( " " ) ? , data : row . get :: < Nullable < Jsonb > , _ > ( " " ) ? , op : row . get ( " " ) ? , } ) }
Extract one RawHistory entry from the database.
Extract one RawHistory entry from the database .
row
&R
row
&R