Module value

Source

Macrosยง

impl_value_for_simple ๐Ÿ”’
Macro to implement Value for simpler types, i.e. ones that already implement FromStr and ToString.

Structsยง

DateStyle
This style should actually be some more complex struct, but we only support this configuration of it, so this is fine for the time being.
Failpoints

Enumsยง

ClientEncoding
ClientSeverity
Severity levels can used to be used to filter which messages get sent to a client.
IntervalStyle
IsolationLevel
List of valid isolation levels.
TimeZone
List of valid time zones.

Constantsยง

MICRO_TO_MILLI ๐Ÿ”’
SEC_TO_DAY ๐Ÿ”’
SEC_TO_HOUR ๐Ÿ”’
SEC_TO_MIN ๐Ÿ”’

Staticsยง

DEFAULT_DATE_STYLE

Traitsยง

AsAny
Helper trait to cast a &dyn T to a &dyn Any.
Value
Defines a value that get stored as part of a System or Session variable.

Functionsยง

extract_single_value ๐Ÿ”’
Helper method to extract a single value from any kind of VarInput.