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§
fn new(row: &PgRow) -> Self
fn to_row(&self) -> Row
fn headers() -> Row
fn read_file() -> String
Provided Methods§
fn description() -> String
Object Safety§
This trait is not object safe.