pub trait SQLIndex<'a, Type, Value>: SQLIndexInfo + ToSQL<'a, Value>where
Type: SQLSchemaType,
Value: SQLParam + 'a,{
type Table: SQLTable<'a, Type, Value>;
}Expand description
Core traits (SQLTable, SQLColumn, SQLSchema, SQLModel, etc.).
Trait for types that represent database indexes.
Implemented by tuple structs like struct UserEmailIdx(User::email);
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".