Skip to main content

Module value

Module value 

Source
Expand description

Container for all SQL value types.

Modules§

postgres_array
prelude
The crates whose types are values, and those types, re-exported so that callers name the versions this crate is built with.

Structs§

Enum
ValueKey
A Value compared the way a key column compares it.
ValueTupleIter
ValueTypeErr
Values

Enums§

ArrayType
Value types variant for Postgres array
OptionEnum
An enum value, or for a NULL the enum’s type name, which Value::array_type needs either way.
Value
Value variants
ValueTuple

Constants§

VALUE_SIZE
This test is to check if the size of Value exceeds the limit.

Traits§

DateLikeValue
Calendar dates.
DateLikeValueNullable
A DateLikeValue type, or Option of one.
DateTimeLikeValue
Dates with a time of day, with or without an offset from UTC.
DateTimeLikeValueNullable
A DateTimeLikeValue type, or Option of one.
FromValueTuple
IntoValueTuple
Nullable
NumericValue
Numbers: the integer types, both float types and Decimal.
NumericValueNullable
A NumericValue type, or Option of one.
TimeLikeValue
Times of day.
TimeLikeValueNullable
A TimeLikeValue type, or Option of one.
ValueType

Functions§

value_to_json_value
Convert value to json value

Type Aliases§

EnumTypeName