pub trait DataType:
Sealed
+ Copy
+ 'static { }Expand description
A SQL type marker: a zero-sized type that stands for one SQL type.
Every typed expression names its SQL type through a DataType. This
crate implements it for each dialect marker (for example
postgres::types::Int4), for
Array<T>, Placeholder, Conjunction, and for tuples of markers
(row values such as (a, b) IN (...); up to 8 elements by default, more
with the col16 … col200 features).
The trait is sealed: other crates cannot implement it.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".