Crate pgrepr[−][src]
Expand description
Representation of and serialization for PostgreSQL datums.
This crate exports a Value
type that maps directly to a PostgreSQL
datum. These values can be serialized using either the text or binary
encoding format; see the Format
type for details.
Value
s are easily converted to and from repr::Datum
s. See, for
example, the values_from_row
function.
Modules
Structs
A wrapper for the repr
crate’s Interval
type that can be serialized to and deserialized from the PostgreSQL binary
format.
A wrapper for the repr
crate’s Jsonb
type
that can be serialized to and deserialized from the PostgreSQL binary
format.
An anonymous Type::List
.
(TO BE DEPRECATED) A wrapper for the repr
crate’s Decimal
type that can be serialized to
and deserialized from the PostgreSQL binary format.
Enums
Functions
Constructs a null datum of the specified type.
Converts a Materialize row into a vector of PostgreSQL values.