pub trait HasSelectModel {
type SelectModel;
const COLUMN_COUNT: usize;
}Expand description
Associates a table with its Select model type and column count.
Generated by #[SQLiteTable] / #[PostgresTable] alongside SQLTable.
Required Associated Constants§
const COLUMN_COUNT: usize
Required Associated Types§
type SelectModel
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.