Crate sqldatetime[−][src]
Expand description
This crate provides SQL date/time types.
Feature Flags
serde
: Enableserde
-based serialization and deserialization. Not enabled by default.oracle
: Enable Oracle oriented datetime type:OracleDate
. Not enabled by default.
Structs
Date | Date represents a valid Gregorian date. |
Formatter | Date/Time formatter. |
IntervalDT |
|
IntervalYM |
|
OracleDate | oracle Oracle oriented |
Time | Time represents a valid time of day. |
Timestamp | Timestamp represents a valid time at a valid Gregorian date. |
Enums
Error | An error that can be returned when uses date/time types. |
Month | Months in the order of 1..=12 January..=December for formatting use |
WeekDay | Weekdays in the order of 1..=7 Sun..=Sat for formatting and calculation use |
Traits
DateTime | General trait for all date time types. |