Trait diesel::prelude::Column

source ·
pub trait Column: Expression {
    type Table: Table;

    const NAME: &'static str;
}
Expand description

A column on a database table. Types which implement this trait should have been generated by the table! macro.

Required Associated Types§

The table which this column belongs to

Required Associated Constants§

The name of this column

Implementors§