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.