Skip to main content

SQLTableMeta

Trait SQLTableMeta 

Source
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§

Source

type ForeignKeys

The table’s foreign keys, as a tuple.

Source

type PrimaryKey

The table’s primary key.

Source

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".

Implementors§