pub trait Projectable {
    // Required methods
    fn relation() -> &'static str;
    fn columns() -> &'static [&'static str];
}

Required Methods§

source

fn relation() -> &'static str

Get relation name.

source

fn columns() -> &'static [&'static str]

Get the list for columns.

Object Safety§

This trait is not object safe.

Implementors§