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§

source

type Table: Table

The table which this column belongs to

Required Associated Constants§

source

const NAME: &'static str

The name of this column

Implementors§

impl Column for id

impl Column for yield_

impl Column for user_id

impl Column for title

impl Column for name

impl Column for family

impl Column for quantity

impl Column for geometry

impl Column for layer_id

impl Column for id

impl Column for id

impl Column for x

impl Column for warning

impl Column for use_by

impl Column for icon

impl Column for taste

impl Column for size_x

impl Column for size_y

impl Column for id

impl Column for fertility

impl Column for plant_id

impl Column for shade

impl Column for price

impl Column for heat_zone

impl Column for name

impl Column for x

impl Column for layer_id

impl Column for layer_id

impl Column for name

impl Column for plant2

impl Column for title

impl Column for id

impl Column for rotation

impl Column for soil_ph

impl Column for rotation

impl Column for quality

impl Column for notes

impl Column for visits

impl Column for map_id

impl Column for notes

impl Column for height

impl Column for honors

impl Column for origin

impl Column for notes

impl Column for plant_id

impl Column for country

impl Column for functions

impl Column for id

impl Column for id

impl Column for add_date

impl Column for edible

impl Column for privacy

impl Column for rotation

impl Column for user_id

impl Column for spread

impl Column for type_

impl Column for harvested

impl Column for seed_id

impl Column for version

impl Column for y

impl Column for plant1

impl Column for phone

impl Column for y

impl Column for add_date

impl Column for is_area

impl Column for note

impl Column for id

impl Column for relation

impl Column for scale_x

impl Column for website

impl Column for track

impl Column for blossom

impl Column for scale_y

impl Column for location

impl Column for path

impl Column for scale