pub trait SQLIndex<'a, Type: SQLSchemaType, Value: SQLParam + 'a>: SQLIndexInfo + ToSQL<'a, Value> {
type Table: SQLTable<'a, Type, Value>;
}Expand description
Trait for types that represent database indexes.
Implemented by tuple structs like struct UserEmailIdx(User::email);