Skip to main content

Column

Trait Column 

Source
pub trait Column: Copy {
    type Model: QueryModel;
    type Type;

    const NAME: &'static str;
    const TABLE: &'static str;
}
Expand description

Marker trait for model columns that can participate in take!.

Required Associated Constants§

Source

const NAME: &'static str

Source

const TABLE: &'static str

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§