[][src]Module diesel_geometry::pg::data_types

Data structures for PG types which have no corresponding Rust type

Most of these types are used to implement ToSql and FromSql for higher level types.

Structs

PgBox

Box is represented in Postgres as a tuple of points (lower left, upper right). This struct is a dumb wrapper type, meant only to indicate the tuple's meaning.

PgCircle

Circle is represented in Postgres as a tuple of center point and radius (center, radius). This struct is a dumb wrapper type, meant only to indicate the tuple's meaning.

PgPoint

Point is represented in Postgres as a tuple of 64 bit floating point values (x, y). This struct is a dumb wrapper type, meant only to indicate the tuple's meaning.