pub trait Temporal: DataType { }Expand description
Date and time SQL types: operands of date/time functions.
| Dialect | Markers |
|---|---|
| SQLite | Integer, Real, Text, Numeric (SQLite stores dates as Unix times, Julian days or ISO-8601 text) |
| PostgreSQL | Date, Time, Timetz, Timestamp, Timestamptz, Interval |
| MySQL | Date, Time, DateTime, Timestamp |
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".