pub trait ColumnKey:
Spelled
+ Copy
+ 'static {
type Table: Table;
type Sql: SqlType;
}Expand description
A column’s compile-time identity. One implementor per column in the
schema, generated by #[derive(Table)] (and by with!{} for a CTE’s
pseudo-columns), which is what lets a column be a key — two columns of
the same table and SQL type are still distinct types here, so a row can
be indexed by column without ambiguity.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".