Expand description
SQL data type markers for compile-time type safety.
This module provides zero-sized type markers that represent SQL data types at the Rust type level, enabling the type system to verify compatible comparisons and operations at compile time.
Structs§
- Array
- PostgreSQL-style SQL array type marker.
- Placeholder
- Placeholder marker used for bind parameters before concrete typing.
Traits§
- Arithmetic
Output - Maps the left-hand numeric type to the result type of an arithmetic
operation (
+,-,*,/,%). - Assignable
- Binary
- Binary data types (BLOB, BYTEA).
- Boolean
Like - Boolean-like SQL types that support logical operations (NOT, AND, OR).
- Compatible
- Data
Type - Represents a SQL data type at the type level.
- Floating
- Floating-point SQL types (REAL, DOUBLE PRECISION).
- Integral
- Integer SQL types (SMALLINT, INTEGER, BIGINT).
- Numeric
- Numeric SQL types that support arithmetic operations (+, -, *, /).
- Temporal
- Temporal SQL types (DATE, TIME, TIMESTAMP).
- Textual
- String/text SQL types (TEXT, VARCHAR, CHAR).