Skip to main content

SQLForeignKey

Trait SQLForeignKey 

Source
pub trait SQLForeignKey {
    type SourceTable;
    type TargetTable;
    type SourceColumns;
    type TargetColumns;
}
Expand description

Typed (non-dyn) foreign key metadata.

Compile-time foreign key information via associated types for source/target table and column sets.

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§