pub trait SQLIndex<'a, Type: SQLSchemaType, Value: SQLParam + 'a>: SQLIndexInfo + ToSQL<'a, Value> {
type Table: SQLTable<'a, Type, Value>;
}Expand description
An index for the dialect whose value type is Value. Renders as its
CREATE INDEX statement.
Generated by #[SQLiteIndex], #[PostgresIndex] and #[MySQLIndex] on a
tuple struct listing the columns, such as
struct UserEmailIdx(Users::email);.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".