pub trait SQLConstraint {
type Table;
type Kind;
type Columns;
}Expand description
A table constraint described by types, generated by the table macros.
Required Associated Types§
Sourcetype Kind
type Kind
The kind: PrimaryKeyK, ForeignKeyK, UniqueK or CheckK.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".