pub trait Integral: Numeric { }Expand description
Integer SQL types, required where SQL expects a whole number, such as
LIMIT/OFFSET and string positions.
| Dialect | Markers |
|---|---|
| SQLite | Integer |
| PostgreSQL | Int2, Int4, Int8 |
| MySQL | every integer marker (signed and unsigned), Year |
Floating-point and decimal markers (Real, Float8, Numeric, …) are not integral.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".