Re-exports§
pub use rand;
pub use serde_json;
Modules§
Macros§
- container
- create
- Example
- create_
index - custome_
execute - Usage
- custome_
query - Usage
- delete
- Example
- delete_
many - Usage
- delete_
table - find_
many - Returns
- find_
one - Usage
- formats
- model
- show_
index_ list - table_
structure - transaction
- update
- Example
Structs§
- Alphanumeric
- Sample a
u8
, uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9. - Client
- Error
- An error communicating with the Postgres server.
- Naive
Date - ISO 8601 calendar date without timezone. Allows for every proleptic Gregorian date from Jan 1, 262145 BCE to Dec 31, 262143 CE. Also supports the conversion from ISO 8601 ordinal and week date.
- Naive
Date Time - ISO 8601 combined date and time without timezone.
- Naive
Time - ISO 8601 time without timezone. Allows for the nanosecond precision and optional leap second representation.
- NoTls
- A
MakeTlsConnect
andTlsConnect
implementation which simply returns an error. - Socket
- The standard stream type used by the crate.
- Uuid
- A Universally Unique Identifier (UUID).
Traits§
- Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Make
TlsConnect - A constructor of
TlsConnect
ors. - Rng
- An automatically-implemented extension trait on
RngCore
providing high-level generic methods for sampling values and other convenience methods. - Serialize
- A data structure that can be serialized into any data format supported by Serde.
- TlsConnect
- An asynchronous function wrapping a stream in a TLS session.
- ToSql
- A trait for types that can be converted into Postgres values.