Crate elephantry

source ·
Expand description
SQL typeRust typeFeature
bigint/int8i64
bitu8bit
bit(n)[u8; n]bit
bit varyingbit_vec::BitVecbit
booleanbool
boxelephantry::Boxgeo
byteaelephantry::Bytea
charchar
varcharString
cidripnetwork::IpNetworknet
circleelephantry::Circlegeo
datechrono::NaiveDatedate
double precision/float8f64
hstoreelephantry::Hstore
inetstd::net::IpAddrnet
integer/int4i32
intervalelephantry::Intervaldate
jsonserde_json::Valuejson
jsonbelephantry::Jsonbjson
lineelephantry::Linegeo
lqueryelephantry::Lqueryltree
lsegelephantry::Segmentgeo
ltreeelephantry::Ltreeltree
ltxtqueryelephantry::Ltxtqueryltree
null()
macaddrmacaddr::MacAddr6net
macaddr8macaddr::MacAddr8net
moneypostgres_money::Moneymoney
multirangeelephantry::Multirangemultirange
numericbigdecimal::BigDecimalnumeric
pathelephantry::Pathgeo
pointelephantry::Pointgeo
polygonelephantry::Polygongeo
real/float4f32
recordtuple
smallint/int2i16
textString
timeelephantry::Timetime
timetzelephantry::TimeTztime
timestampchrono::NaiveDateTimedate
timestamptzchrono::DateTimedate
uuiduuid::Uuiduuid
xmlxmltree::Elementxml
[x, y)std::ops::Range
[x,)std::ops::RangeFrom
[,y)std::ops::RangeTo
(,)std::ops::RangeFull

Re-exports§

Modules§

Macros§

Structs§

Enums§

Traits§

  • Trait to allow a rust type to be translated form a SQL value.
  • Impl this trait to create a link between an entity and a structure.
  • Trait to reflect relation structure.
  • Trait to allow a rust type to be translated to a SQL value.

Type Aliases§

Derive Macros§