@@ -256,40 +256,41 @@ impl WrongTypeNew for WrongType {
256256/// The following implementations are provided by this crate, along with the
257257/// corresponding Postgres types:
258258///
259- /// | Rust type | Postgres type(s) |
260- /// |---------------------------------------------|--------------------------------|
261- /// | bool | BOOL |
262- /// | i8 | "char" |
263- /// | i16 | SMALLINT, SMALLSERIAL |
264- /// | i32 | INT, SERIAL |
265- /// | u32 | OID |
266- /// | i64 | BIGINT, BIGSERIAL |
267- /// | f32 | REAL |
268- /// | f64 | DOUBLE PRECISION |
269- /// | String | VARCHAR, CHAR(n), TEXT, CITEXT |
270- /// | Vec<u8> | BYTEA |
271- /// | HashMap<String, Option<String>> | HSTORE |
259+ /// | Rust type | Postgres type(s) |
260+ /// |----------------------------------------------- |--------------------------------|
261+ /// | ` bool` | BOOL |
262+ /// | `i8` | "char" |
263+ /// | ` i16` | SMALLINT, SMALLSERIAL |
264+ /// | ` i32` | INT, SERIAL |
265+ /// | ` u32` | OID |
266+ /// | ` i64` | BIGINT, BIGSERIAL |
267+ /// | ` f32` | REAL |
268+ /// | ` f64` | DOUBLE PRECISION |
269+ /// | ` String` | VARCHAR, CHAR(n), TEXT, CITEXT |
270+ /// | ` Vec<u8>` | BYTEA |
271+ /// | ` HashMap<String, Option<String>>` | HSTORE |
272272///
273273/// In addition, some implementations are provided for types in third party
274274/// crates. These are disabled by default; to opt into one of these
275275/// implementations, activate the Cargo feature corresponding to the crate's
276276/// name. For example, the `serde_json` feature enables the implementation for
277277/// the `serde_json::Value` type.
278278///
279- /// | Rust type | Postgres type(s) |
280- /// |-------------------------------------|-------------------------------------|
281- /// | serialize::json::Json | JSON, JSONB |
282- /// | serde_json::Value | JSON, JSONB |
283- /// | time::Timespec | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
284- /// | chrono::NaiveDateTime | TIMESTAMP |
285- /// | chrono::DateTime<UTC> | TIMESTAMP WITH TIME ZONE |
286- /// | chrono::DateTime<Local> | TIMESTAMP WITH TIME ZONE |
287- /// | chrono::DateTime<FixedOffset> | TIMESTAMP WITH TIME ZONE |
288- /// | chrono::NaiveDate | DATE |
289- /// | chrono::NaiveTime | TIME |
290- /// | eui48::MacAddress | MACADDR |
291- /// | uuid::Uuid | UUID |
292- /// | bit_vec::BitVec | BIT, VARBIT |
279+ /// | Rust type | Postgres type(s) |
280+ /// |---------------------------------------|-------------------------------------|
281+ /// | `serialize::json::Json` | JSON, JSONB |
282+ /// | `serde_json::Value` | JSON, JSONB |
283+ /// | `time::Timespec` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
284+ /// | `chrono::NaiveDateTime` | TIMESTAMP |
285+ /// | `chrono::DateTime<UTC>` | TIMESTAMP WITH TIME ZONE |
286+ /// | `chrono::DateTime<Local>` | TIMESTAMP WITH TIME ZONE |
287+ /// | `chrono::DateTime<FixedOffset>` | TIMESTAMP WITH TIME ZONE |
288+ /// | `chrono::NaiveDate` | DATE |
289+ /// | `chrono::NaiveTime` | TIME |
290+ /// | `eui48::MacAddress` | MACADDR |
291+ /// | `uuid::Uuid` | UUID |
292+ /// | `bit_vec::BitVec` | BIT, VARBIT |
293+ /// | `eui48::MacAddress` | MACADDR |
293294///
294295/// # Nullability
295296///
@@ -500,41 +501,42 @@ pub enum IsNull {
500501/// The following implementations are provided by this crate, along with the
501502/// corresponding Postgres types:
502503///
503- /// | Rust type | Postgres type(s) |
504- /// |---------------------------------------------|--------------------------------|
505- /// | bool | BOOL |
506- /// | i8 | "char" |
507- /// | i16 | SMALLINT, SMALLSERIAL |
508- /// | i32 | INT, SERIAL |
509- /// | u32 | OID |
510- /// | i64 | BIGINT, BIGSERIAL |
511- /// | f32 | REAL |
512- /// | f64 | DOUBLE PRECISION |
513- /// | String | VARCHAR, CHAR(n), TEXT, CITEXT |
514- /// | &str | VARCHAR, CHAR(n), TEXT, CITEXT |
515- /// | Vec<u8> | BYTEA |
516- /// | &[u8] | BYTEA |
517- /// | HashMap<String, Option<String>> | HSTORE |
504+ /// | Rust type | Postgres type(s) |
505+ /// |----------------------------------------------- |--------------------------------|
506+ /// | ` bool` | BOOL |
507+ /// | `i8` | "char" |
508+ /// | ` i16` | SMALLINT, SMALLSERIAL |
509+ /// | ` i32` | INT, SERIAL |
510+ /// | ` u32` | OID |
511+ /// | ` i64` | BIGINT, BIGSERIAL |
512+ /// | ` f32` | REAL |
513+ /// | ` f64` | DOUBLE PRECISION |
514+ /// | ` String` | VARCHAR, CHAR(n), TEXT, CITEXT |
515+ /// | ` &str` | VARCHAR, CHAR(n), TEXT, CITEXT |
516+ /// | ` Vec<u8>` | BYTEA |
517+ /// | ` &[u8]` | BYTEA |
518+ /// | ` HashMap<String, Option<String>>` | HSTORE |
518519///
519520/// In addition, some implementations are provided for types in third party
520521/// crates. These are disabled by default; to opt into one of these
521522/// implementations, activate the Cargo feature corresponding to the crate's
522523/// name. For example, the `serde_json` feature enables the implementation for
523524/// the `serde_json::Value` type.
524525///
525- /// | Rust type | Postgres type(s) |
526- /// |-------------------------------------|-------------------------------------|
527- /// | serialize::json::Json | JSON, JSONB |
528- /// | serde_json::Value | JSON, JSONB |
529- /// | time::Timespec | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
530- /// | chrono::NaiveDateTime | TIMESTAMP |
531- /// | chrono::DateTime<UTC> | TIMESTAMP WITH TIME ZONE |
532- /// | chrono::DateTime<Local> | TIMESTAMP WITH TIME ZONE |
533- /// | chrono::DateTime<FixedOffset> | TIMESTAMP WITH TIME ZONE |
534- /// | chrono::NaiveDate | DATE |
535- /// | chrono::NaiveTime | TIME |
536- /// | uuid::Uuid | UUID |
537- /// | bit_vec::BitVec | BIT, VARBIT |
526+ /// | Rust type | Postgres type(s) |
527+ /// |---------------------------------------|-------------------------------------|
528+ /// | `serialize::json::Json` | JSON, JSONB |
529+ /// | `serde_json::Value` | JSON, JSONB |
530+ /// | `time::Timespec` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
531+ /// | `chrono::NaiveDateTime` | TIMESTAMP |
532+ /// | `chrono::DateTime<UTC>` | TIMESTAMP WITH TIME ZONE |
533+ /// | `chrono::DateTime<Local>` | TIMESTAMP WITH TIME ZONE |
534+ /// | `chrono::DateTime<FixedOffset>` | TIMESTAMP WITH TIME ZONE |
535+ /// | `chrono::NaiveDate` | DATE |
536+ /// | `chrono::NaiveTime` | TIME |
537+ /// | `uuid::Uuid` | UUID |
538+ /// | `bit_vec::BitVec` | BIT, VARBIT |
539+ /// | `eui48::MacAddress` | MACADDR |
538540///
539541/// # Nullability
540542///
0 commit comments