pub trait Query {
    // Required methods
    fn new(row: &PgRow) -> Self;
    fn to_row(&self) -> Row;
    fn headers() -> Row;
    fn read_file() -> String;

    // Provided method
    fn description() -> String { ... }
}

Required Methods§

source

fn new(row: &PgRow) -> Self

source

fn to_row(&self) -> Row

source

fn headers() -> Row

source

fn read_file() -> String

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§