@@ -258,41 +258,41 @@ impl WrongTypeNew for WrongType {
258
258
/// The following implementations are provided by this crate, along with the
259
259
/// corresponding Postgres types:
260
260
///
261
- /// | Rust type | Postgres type(s) |
262
- /// |----------------------------------------------- |--------------------------------|
263
- /// | `bool` | BOOL |
264
- /// | `i8` | "char" |
265
- /// | `i16` | SMALLINT, SMALLSERIAL |
266
- /// | `i32` | INT, SERIAL |
267
- /// | `u32` | OID |
268
- /// | `i64` | BIGINT, BIGSERIAL |
269
- /// | `f32` | REAL |
270
- /// | `f64` | DOUBLE PRECISION |
271
- /// | `String` | VARCHAR, CHAR(n), TEXT, CITEXT |
272
- /// | `Vec<u8>` | BYTEA |
273
- /// | `HashMap< String, Option< String>> ` | HSTORE |
261
+ /// | Rust type | Postgres type(s) |
262
+ /// |-----------------------------------|--------------------------------|
263
+ /// | `bool` | BOOL |
264
+ /// | `i8` | "char" |
265
+ /// | `i16` | SMALLINT, SMALLSERIAL |
266
+ /// | `i32` | INT, SERIAL |
267
+ /// | `u32` | OID |
268
+ /// | `i64` | BIGINT, BIGSERIAL |
269
+ /// | `f32` | REAL |
270
+ /// | `f64` | DOUBLE PRECISION |
271
+ /// | `String` | VARCHAR, CHAR(n), TEXT, CITEXT |
272
+ /// | `Vec<u8>` | BYTEA |
273
+ /// | `HashMap< String, Option< String>> ` | HSTORE |
274
274
///
275
275
/// In addition, some implementations are provided for types in third party
276
276
/// crates. These are disabled by default; to opt into one of these
277
277
/// implementations, activate the Cargo feature corresponding to the crate's
278
278
/// name. For example, the `serde_json` feature enables the implementation for
279
279
/// the `serde_json::Value` type.
280
280
///
281
- /// | Rust type | Postgres type(s) |
282
- /// |--------------------------------------- |-------------------------------------|
283
- /// | `serialize::json::Json` | JSON, JSONB |
284
- /// | `serde_json::Value` | JSON, JSONB |
285
- /// | `time::Timespec` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
286
- /// | `chrono::NaiveDateTime` | TIMESTAMP |
287
- /// | `chrono::DateTime< UTC> ` | TIMESTAMP WITH TIME ZONE |
288
- /// | `chrono::DateTime< Local> ` | TIMESTAMP WITH TIME ZONE |
289
- /// | `chrono::DateTime< FixedOffset> ` | TIMESTAMP WITH TIME ZONE |
290
- /// | `chrono::NaiveDate` | DATE |
291
- /// | `chrono::NaiveTime` | TIME |
292
- /// | `eui48::MacAddress` | MACADDR |
293
- /// | `uuid::Uuid` | UUID |
294
- /// | `bit_vec::BitVec` | BIT, VARBIT |
295
- /// | `eui48::MacAddress` | MACADDR |
281
+ /// | Rust type | Postgres type(s) |
282
+ /// |---------------------------------|-------------------------------------|
283
+ /// | `serialize::json::Json` | JSON, JSONB |
284
+ /// | `serde_json::Value` | JSON, JSONB |
285
+ /// | `time::Timespec` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
286
+ /// | `chrono::NaiveDateTime` | TIMESTAMP |
287
+ /// | `chrono::DateTime< UTC> ` | TIMESTAMP WITH TIME ZONE |
288
+ /// | `chrono::DateTime< Local> ` | TIMESTAMP WITH TIME ZONE |
289
+ /// | `chrono::DateTime< FixedOffset> ` | TIMESTAMP WITH TIME ZONE |
290
+ /// | `chrono::NaiveDate` | DATE |
291
+ /// | `chrono::NaiveTime` | TIME |
292
+ /// | `eui48::MacAddress` | MACADDR |
293
+ /// | `uuid::Uuid` | UUID |
294
+ /// | `bit_vec::BitVec` | BIT, VARBIT |
295
+ /// | `eui48::MacAddress` | MACADDR |
296
296
///
297
297
/// # Nullability
298
298
///
@@ -508,42 +508,42 @@ pub enum IsNull {
508
508
/// The following implementations are provided by this crate, along with the
509
509
/// corresponding Postgres types:
510
510
///
511
- /// | Rust type | Postgres type(s) |
512
- /// |----------------------------------------------- |--------------------------------|
513
- /// | `bool` | BOOL |
514
- /// | `i8` | "char" |
515
- /// | `i16` | SMALLINT, SMALLSERIAL |
516
- /// | `i32` | INT, SERIAL |
517
- /// | `u32` | OID |
518
- /// | `i64` | BIGINT, BIGSERIAL |
519
- /// | `f32` | REAL |
520
- /// | `f64` | DOUBLE PRECISION |
521
- /// | `String` | VARCHAR, CHAR(n), TEXT, CITEXT |
522
- /// | `&str` | VARCHAR, CHAR(n), TEXT, CITEXT |
523
- /// | `Vec<u8>` | BYTEA |
524
- /// | `&[u8]` | BYTEA |
525
- /// | `HashMap< String, Option< String>> ` | HSTORE |
511
+ /// | Rust type | Postgres type(s) |
512
+ /// |-----------------------------------|--------------------------------|
513
+ /// | `bool` | BOOL |
514
+ /// | `i8` | "char" |
515
+ /// | `i16` | SMALLINT, SMALLSERIAL |
516
+ /// | `i32` | INT, SERIAL |
517
+ /// | `u32` | OID |
518
+ /// | `i64` | BIGINT, BIGSERIAL |
519
+ /// | `f32` | REAL |
520
+ /// | `f64` | DOUBLE PRECISION |
521
+ /// | `String` | VARCHAR, CHAR(n), TEXT, CITEXT |
522
+ /// | `&str` | VARCHAR, CHAR(n), TEXT, CITEXT |
523
+ /// | `Vec<u8>` | BYTEA |
524
+ /// | `&[u8]` | BYTEA |
525
+ /// | `HashMap< String, Option< String>> ` | HSTORE |
526
526
///
527
527
/// In addition, some implementations are provided for types in third party
528
528
/// crates. These are disabled by default; to opt into one of these
529
529
/// implementations, activate the Cargo feature corresponding to the crate's
530
530
/// name. For example, the `serde_json` feature enables the implementation for
531
531
/// the `serde_json::Value` type.
532
532
///
533
- /// | Rust type | Postgres type(s) |
534
- /// |--------------------------------------- |-------------------------------------|
535
- /// | `serialize::json::Json` | JSON, JSONB |
536
- /// | `serde_json::Value` | JSON, JSONB |
537
- /// | `time::Timespec` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
538
- /// | `chrono::NaiveDateTime` | TIMESTAMP |
539
- /// | `chrono::DateTime< UTC> ` | TIMESTAMP WITH TIME ZONE |
540
- /// | `chrono::DateTime< Local> ` | TIMESTAMP WITH TIME ZONE |
541
- /// | `chrono::DateTime< FixedOffset> ` | TIMESTAMP WITH TIME ZONE |
542
- /// | `chrono::NaiveDate` | DATE |
543
- /// | `chrono::NaiveTime` | TIME |
544
- /// | `uuid::Uuid` | UUID |
545
- /// | `bit_vec::BitVec` | BIT, VARBIT |
546
- /// | `eui48::MacAddress` | MACADDR |
533
+ /// | Rust type | Postgres type(s) |
534
+ /// |---------------------------------|-------------------------------------|
535
+ /// | `serialize::json::Json` | JSON, JSONB |
536
+ /// | `serde_json::Value` | JSON, JSONB |
537
+ /// | `time::Timespec` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
538
+ /// | `chrono::NaiveDateTime` | TIMESTAMP |
539
+ /// | `chrono::DateTime< UTC> ` | TIMESTAMP WITH TIME ZONE |
540
+ /// | `chrono::DateTime< Local> ` | TIMESTAMP WITH TIME ZONE |
541
+ /// | `chrono::DateTime< FixedOffset> ` | TIMESTAMP WITH TIME ZONE |
542
+ /// | `chrono::NaiveDate` | DATE |
543
+ /// | `chrono::NaiveTime` | TIME |
544
+ /// | `uuid::Uuid` | UUID |
545
+ /// | `bit_vec::BitVec` | BIT, VARBIT |
546
+ /// | `eui48::MacAddress` | MACADDR |
547
547
///
548
548
/// # Nullability
549
549
///
0 commit comments