Expand description
PostgreSQL type decoding (PostgreSQL → Rust).
This module provides traits and implementations for decoding PostgreSQL wire format values to Rust types in both text and binary representations.
Traits§
- Binary
Decode - Decode a value from PostgreSQL binary format.
- Decode
- Combined decoding trait that supports both formats.
- Text
Decode - Decode a value from PostgreSQL text format.
Functions§
- decode_
date_ days - Decode a date from PostgreSQL format.
- decode_
timestamp_ micros - Decode a timestamp from PostgreSQL format.
- decode_
value - Decode a PostgreSQL value to a dynamic Value.
- parse_
date_ string - Parse a date string in YYYY-MM-DD format.
- parse_
time_ string - Parse a time string in HH:MM:SS[.ffffff] format.
- parse_
timestamp_ string - Parse a timestamp string.