Module common

Source
Expand description

Common formats.

This module contains types which may be commonly used for multiple specifications.

Structs§

Hms6ColonStr
String slice for a time in %H:%M:%S (hh:mm:ss) format, such as 01:23:45.
Hms6ColonString
Owned string for a time in %H:%M:%S (hh:mm:ss) format, such as 01:23:45.
SecfracDigitsStr
String slice for digits of fractions of a second.
SecfracDigitsString
String slice for digits of fractions of a second.
TimeNumOffsetColonStr
String slice for a time offset in +hh:mm or -hh:mm format, such as +09:00 and -00:00.
TimeNumOffsetColonString
Owned string for a time offset in +hh:mm or -hh:mm format, such as +09:00 and -00:00.
Ymd8HyphenStr
String slice for a date in YYYY-MM-DD format, such as 2001-12-31.
Ymd8HyphenString
Owned string for a date in YYYY-MM-DD format, such as 2001-12-31.

Enums§

TimeOffsetSign
Sign of a time offset.