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§
Required Associated Types§
type Model: QueryModel
type Type
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.