Struct diesel::pg::Pg [] [src]

pub struct Pg;

The PostgreSQL backend

Trait Implementations

impl HasSqlType<Bool> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<SmallInt> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Integer> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<BigInt> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Float> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Double> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Numeric> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Text> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Binary> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Date> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Interval> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Time> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Timestamp> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl<T> HasSqlType<Array<T>> for Pg where
    Pg: HasSqlType<T>, 
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl<T, ST> FromSql<Array<ST>, Pg> for Vec<T> where
    T: FromSql<ST, Pg>, 
[src]

[src]

See the trait documentation.

impl<ST, T> ToSql<Array<ST>, Pg> for [T] where
    Pg: HasSqlType<ST>,
    T: ToSql<ST, Pg>, 
[src]

[src]

See the trait documentation.

impl<ST, T> ToSql<Nullable<Array<ST>>, Pg> for [T] where
    [T]: ToSql<Array<ST>, Pg>, 
[src]

[src]

See the trait documentation.

impl<ST, T> ToSql<Array<ST>, Pg> for Vec<T> where
    [T]: ToSql<Array<ST>, Pg>,
    T: Debug
[src]

[src]

See the trait documentation.

impl<ST, T> ToSql<Nullable<Array<ST>>, Pg> for Vec<T> where
    Vec<T>: ToSql<Array<ST>, Pg>, 
[src]

[src]

See the trait documentation.

impl<T, ST> Queryable<Range<ST>, Pg> for (Bound<T>, Bound<T>) where
    T: FromSql<ST, Pg> + Queryable<ST, Pg>, 
[src]

The Rust type you'd like to map from. Read more

[src]

Construct an instance of this type

impl<T, ST> FromSqlRow<Range<ST>, Pg> for (Bound<T>, Bound<T>) where
    (Bound<T>, Bound<T>): FromSql<Range<ST>, Pg>, 
[src]

[src]

See the trait documentation.

FIELDS_NEEDED: usize = 1

The number of fields that this type will consume. Must be equal to the number of times you would call row.take() in build_from_row Read more

impl<T, ST> FromSql<Range<ST>, Pg> for (Bound<T>, Bound<T>) where
    T: FromSql<ST, Pg>, 
[src]

[src]

See the trait documentation.

impl<ST, T> ToSql<Range<ST>, Pg> for (Bound<T>, Bound<T>) where
    T: ToSql<ST, Pg>, 
[src]

[src]

See the trait documentation.

impl<ST, T> ToSql<Nullable<Range<ST>>, Pg> for (Bound<T>, Bound<T>) where
    (Bound<T>, Bound<T>): ToSql<Range<ST>, Pg>, 
[src]

[src]

See the trait documentation.

impl ToSql<Timestamp, Pg> for SystemTime
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Pg> for SystemTime
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Pg> for NaiveDateTime
[src]

[src]

See the trait documentation.

impl ToSql<Timestamp, Pg> for NaiveDateTime
[src]

[src]

See the trait documentation.

impl FromSql<Timestamptz, Pg> for NaiveDateTime
[src]

[src]

See the trait documentation.

impl ToSql<Timestamptz, Pg> for NaiveDateTime
[src]

[src]

See the trait documentation.

impl FromSql<Timestamptz, Pg> for DateTime<Utc>
[src]

[src]

See the trait documentation.

impl<TZ: TimeZone> ToSql<Timestamptz, Pg> for DateTime<TZ>
[src]

[src]

See the trait documentation.

impl ToSql<Time, Pg> for NaiveTime
[src]

[src]

See the trait documentation.

impl FromSql<Time, Pg> for NaiveTime
[src]

[src]

See the trait documentation.

impl ToSql<Date, Pg> for NaiveDate
[src]

[src]

See the trait documentation.

impl FromSql<Date, Pg> for NaiveDate
[src]

[src]

See the trait documentation.

impl ToSql<Timestamp, Pg> for Timespec
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Pg> for Timespec
[src]

[src]

See the trait documentation.

impl ToSql<Timestamp, Pg> for PgTimestamp
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Pg> for PgTimestamp
[src]

[src]

See the trait documentation.

impl ToSql<Timestamptz, Pg> for PgTimestamp
[src]

[src]

See the trait documentation.

impl FromSql<Timestamptz, Pg> for PgTimestamp
[src]

[src]

See the trait documentation.

impl ToSql<Date, Pg> for PgDate
[src]

[src]

See the trait documentation.

impl FromSql<Date, Pg> for PgDate
[src]

[src]

See the trait documentation.

impl ToSql<Time, Pg> for PgTime
[src]

[src]

See the trait documentation.

impl FromSql<Time, Pg> for PgTime
[src]

[src]

See the trait documentation.

impl ToSql<Interval, Pg> for PgInterval
[src]

[src]

See the trait documentation.

impl FromSql<Interval, Pg> for PgInterval
[src]

[src]

See the trait documentation.

impl FromSql<Numeric, Pg> for PgNumeric
[src]

[src]

See the trait documentation.

impl ToSql<Numeric, Pg> for PgNumeric
[src]

[src]

See the trait documentation.

impl FromSql<MacAddr, Pg> for [u8; 6]
[src]

[src]

See the trait documentation.

impl ToSql<MacAddr, Pg> for [u8; 6]
[src]

[src]

See the trait documentation.

impl FromSql<Inet, Pg> for IpNetwork
[src]

[src]

See the trait documentation.

impl ToSql<Inet, Pg> for IpNetwork
[src]

[src]

See the trait documentation.

impl FromSql<Cidr, Pg> for IpNetwork
[src]

[src]

See the trait documentation.

impl ToSql<Cidr, Pg> for IpNetwork
[src]

[src]

See the trait documentation.

impl FromSql<Oid, Pg> for u32
[src]

[src]

See the trait documentation.

impl ToSql<Oid, Pg> for u32
[src]

[src]

See the trait documentation.

impl ToSql<Numeric, Pg> for BigDecimal
[src]

[src]

See the trait documentation.

impl FromSql<Numeric, Pg> for BigDecimal
[src]

[src]

See the trait documentation.

impl FromSql<Bool, Pg> for bool
[src]

[src]

See the trait documentation.

impl ToSql<Bool, Pg> for bool
[src]

[src]

See the trait documentation.

impl FromSql<Uuid, Pg> for Uuid
[src]

[src]

See the trait documentation.

impl ToSql<Uuid, Pg> for Uuid
[src]

[src]

See the trait documentation.

impl FromSql<Json, Pg> for Value
[src]

[src]

See the trait documentation.

impl ToSql<Json, Pg> for Value
[src]

[src]

See the trait documentation.

impl FromSql<Jsonb, Pg> for Value
[src]

[src]

See the trait documentation.

impl ToSql<Jsonb, Pg> for Value
[src]

[src]

See the trait documentation.

impl FromSql<Money, Pg> for PgMoney
[src]

[src]

See the trait documentation.

impl ToSql<Money, Pg> for PgMoney
[src]

[src]

See the trait documentation.

impl HasSqlType<Oid> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Timestamptz> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Uuid> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Json> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Jsonb> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Money> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<MacAddr> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Inet> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Cidr> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl Debug for Pg
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Pg
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Pg
[src]

impl Hash for Pg
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Pg
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Pg
[src]

impl Queryable<(Oid, Oid), Pg> for PgTypeMetadata
[src]

The Rust type you'd like to map from. Read more

[src]

Construct an instance of this type

impl Backend for Pg
[src]

The concrete QueryBuilder implementation for this backend.

The concrete BindCollector implementation for this backend. Read more

The raw representation of a database value given to FromSql. Read more

What byte order is used to transmit integers? Read more

impl TypeMetadata for Pg
[src]

The actual type used to represent metadata. Read more

The type used for runtime lookup of metadata. Read more

impl SupportsReturningClause for Pg
[src]

impl SupportsDefaultKeyword for Pg
[src]

impl UsesAnsiSavepointSyntax for Pg
[src]

impl<T> QueryFragment<Pg> for DistinctOnClause<T> where
    T: QueryFragment<Pg>, 
[src]

[src]

Walk over this QueryFragment for all passes. Read more

[src]

Converts this QueryFragment to its SQL representation. Read more

[src]

Serializes all bind parameters in this query. Read more

[src]

Is this query safe to store in the prepared statement cache? Read more

impl QueryBuilder<Pg> for PgQueryBuilder
[src]

[src]

Add sql to the end of the query being constructed.

[src]

Quote identifier, and add it to the end of the query being constructed. Read more

[src]

Add a placeholder for a bind parameter to the end of the query being constructed. Read more

[src]

Returns the constructed SQL query.

impl<'a> QueryFragment<Pg> for TransactionBuilder<'a>
[src]

[src]

Walk over this QueryFragment for all passes. Read more

[src]

Converts this QueryFragment to its SQL representation. Read more

[src]

Serializes all bind parameters in this query. Read more

[src]

Is this query safe to store in the prepared statement cache? Read more

Auto Trait Implementations

impl Send for Pg

impl Sync for Pg