[−][src]Module postgres::types
Types.
This module is a reexport of the postgres_types
crate.
Macros
accepts | Generates a simple implementation of |
to_sql_checked | Generates an implementation of |
Structs
Field | Information about a field of a composite type. |
Json | A wrapper type to allow arbitrary |
Type | A Postgres type. |
WasNull | An error indicating that a |
WrongType | An error indicating that a conversion was attempted between incompatible Rust and Postgres types. |
Enums
Date | A wrapper that can be used to represent infinity with |
IsNull | An enum representing the nullability of a Postgres value. |
Kind | Represents the kind of a Postgres type. |
Timestamp | A wrapper that can be used to represent infinity with |
Traits
FromSql | A trait for types that can be created from a Postgres value. |
FromSqlOwned | A trait for types which can be created from a Postgres value without borrowing any data. |
ToSql | A trait for types that can be converted into Postgres values. |
Type Definitions
Oid | A Postgres OID. |