pub trait SQLTableMeta {
type ForeignKeys;
type PrimaryKey;
type Constraints;
}Expand description
A table’s keys and constraints as types, generated by the table macros.
Required Associated Types§
Sourcetype ForeignKeys
type ForeignKeys
The table’s foreign keys, as a tuple.
Sourcetype PrimaryKey
type PrimaryKey
The table’s primary key.
Sourcetype Constraints
type Constraints
The table’s other constraints, as a tuple.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".