Trait typed_sql::table::Table

source ·
pub trait Table {
    type Fields: Default;

    const NAME: &'static str;

    // Provided method
    fn table() -> TableQuery<Self> { ... }
}

Required Associated Types§

Required Associated Constants§

source

const NAME: &'static str

Provided Methods§

source

fn table() -> TableQuery<Self>

Implementors§