Crate rusty_postgres

Source

Re-exports§

pub use rand;
pub use serde_json;

Modules§

method

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.
NaiveDate
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.
NaiveDateTime
ISO 8601 combined date and time without timezone.
NaiveTime
ISO 8601 time without timezone. Allows for the nanosecond precision and optional leap second representation.
NoTls
A MakeTlsConnect and TlsConnect 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.
MakeTlsConnect
A constructor of TlsConnectors.
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.

Derive Macros§

Deserialize
Serialize