Skip to main content

HasSelectModel

Trait HasSelectModel 

Source
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§

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§