Skip to main content

Integral

Trait Integral 

Source
pub trait Integral: Numeric { }
Expand description

Integer SQL types, required where SQL expects a whole number, such as LIMIT/OFFSET and string positions.

DialectMarkers
SQLiteInteger
PostgreSQLInt2, Int4, Int8
MySQLevery 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".

Implementors§