pub trait Selectable<T: Table> {
// Required method
fn column_names() -> &'static [&'static str];
}Expand description
Trait for selecting specific columns from a table.
Implemented for tuples of column types to enable type-safe SELECT queries.
Required Methods§
Sourcefn column_names() -> &'static [&'static str]
fn column_names() -> &'static [&'static str]
Returns the column names to select.
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.