Module value
Expand description
Helpers for working with Value
Structs§
- Chrono
Unix Timestamp - A DataTime
mapped to i64 in database - Chrono
Unix Timestamp Millis - A DataTime
mapped to i64 in database, but in milliseconds - Text
Uuid - Newtype making sure that UUIDs will be stored as
TEXTcolumns, instead ofBLOB(which is the default). Advantages: - Time
Unix Timestamp - A OffsetDateTime mapped to i64 in database
- Time
Unix Timestamp Millis - A OffsetDateTime mapped to i64 in database, but in milliseconds
Traits§
- Default
Active Value - Default value for T
- Default
Active Value None - Default value for Option
- Default
Active Value NotSet - Default value for types that’s not nullable