diesel::sql_types

Trait HasSqlType

Source
pub trait HasSqlType<ST>: TypeMetadata {
    // Required method
    fn metadata(lookup: &mut Self::MetadataLookup) -> Self::TypeMetadata;
}
Expand description

Indicates that a SQL type exists for a backend.

This trait can be derived using the SqlType derive

§Example

#[derive(diesel::sql_types::SqlType)]
#[diesel(postgres_type(oid = 23, array_oid = 1007))]
#[diesel(sqlite_type(name = "Integer"))]
#[diesel(mysql_type(name = "Long"))]
pub struct Integer;

Required Methods§

Source

fn metadata(lookup: &mut Self::MetadataLookup) -> Self::TypeMetadata

Fetch the metadata for the given type

This method may use lookup to do dynamic runtime lookup. Implementors of this method should not do dynamic lookup unless absolutely necessary

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl HasSqlType<BigInt> for Mysql

Source§

impl HasSqlType<BigInt> for Pg

Source§

impl HasSqlType<BigInt> for Sqlite

Source§

impl HasSqlType<Binary> for Mysql

Source§

impl HasSqlType<Binary> for Pg

Source§

impl HasSqlType<Binary> for Sqlite

Source§

impl HasSqlType<Bool> for Mysql

Source§

impl HasSqlType<Bool> for Pg

Source§

impl HasSqlType<Bool> for Sqlite

Source§

impl HasSqlType<CChar> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Cidr> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Citext> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Date> for Mysql

Source§

impl HasSqlType<Date> for Pg

Source§

impl HasSqlType<Date> for Sqlite

Source§

impl HasSqlType<Datetime> for Mysql

Available on crate feature mysql_backend only.
Source§

impl HasSqlType<Double> for Mysql

Source§

impl HasSqlType<Double> for Pg

Source§

impl HasSqlType<Double> for Sqlite

Source§

impl HasSqlType<Float> for Mysql

Source§

impl HasSqlType<Float> for Pg

Source§

impl HasSqlType<Float> for Sqlite

Source§

impl HasSqlType<Inet> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Integer> for Mysql

Source§

impl HasSqlType<Integer> for Pg

Source§

impl HasSqlType<Integer> for Sqlite

Source§

impl HasSqlType<Interval> for Pg

Source§

impl HasSqlType<Json> for Mysql

Source§

impl HasSqlType<Json> for Pg

Source§

impl HasSqlType<Jsonb> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<MacAddr> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Money> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Numeric> for Mysql

Source§

impl HasSqlType<Numeric> for Pg

Source§

impl HasSqlType<Numeric> for Sqlite

Source§

impl HasSqlType<Oid> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Range<BigInt>> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Range<Date>> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Range<Integer>> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Range<Numeric>> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Range<Timestamp>> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Range<Timestamptz>> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<SmallInt> for Mysql

Source§

impl HasSqlType<SmallInt> for Pg

Source§

impl HasSqlType<SmallInt> for Sqlite

Source§

impl HasSqlType<Text> for Mysql

Source§

impl HasSqlType<Text> for Pg

Source§

impl HasSqlType<Text> for Sqlite

Source§

impl HasSqlType<Time> for Mysql

Source§

impl HasSqlType<Time> for Pg

Source§

impl HasSqlType<Time> for Sqlite

Source§

impl HasSqlType<Timestamp> for Mysql

Source§

impl HasSqlType<Timestamp> for Pg

Source§

impl HasSqlType<Timestamp> for Sqlite

Source§

impl HasSqlType<Timestamptz> for Pg

Available on crate feature postgres_backend only.
Source§

impl HasSqlType<Timestamptz> for Sqlite

Available on crate feature sqlite only.
Source§

impl HasSqlType<TinyInt> for Mysql

Source§

impl HasSqlType<Unsigned<BigInt>> for Mysql

Available on crate feature mysql_backend only.
Source§

impl HasSqlType<Unsigned<Integer>> for Mysql

Available on crate feature mysql_backend only.
Source§

impl HasSqlType<Unsigned<SmallInt>> for Mysql

Available on crate feature mysql_backend only.
Source§

impl HasSqlType<Unsigned<TinyInt>> for Mysql

Available on crate feature mysql_backend only.
Source§

impl HasSqlType<Uuid> for Pg

Available on crate feature postgres_backend only.
Source§

impl<ST: 'static> HasSqlType<Record<ST>> for Pg

Available on crate feature postgres_backend only.
Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, T31, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, T31)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + HasSqlType<T22> + HasSqlType<T23> + HasSqlType<T24> + HasSqlType<T25> + HasSqlType<T26> + HasSqlType<T27> + HasSqlType<T28> + HasSqlType<T29> + HasSqlType<T30> + HasSqlType<T31> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + HasSqlType<T22> + HasSqlType<T23> + HasSqlType<T24> + HasSqlType<T25> + HasSqlType<T26> + HasSqlType<T27> + HasSqlType<T28> + HasSqlType<T29> + HasSqlType<T30> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + HasSqlType<T22> + HasSqlType<T23> + HasSqlType<T24> + HasSqlType<T25> + HasSqlType<T26> + HasSqlType<T27> + HasSqlType<T28> + HasSqlType<T29> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + HasSqlType<T22> + HasSqlType<T23> + HasSqlType<T24> + HasSqlType<T25> + HasSqlType<T26> + HasSqlType<T27> + HasSqlType<T28> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + HasSqlType<T22> + HasSqlType<T23> + HasSqlType<T24> + HasSqlType<T25> + HasSqlType<T26> + HasSqlType<T27> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + HasSqlType<T22> + HasSqlType<T23> + HasSqlType<T24> + HasSqlType<T25> + HasSqlType<T26> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + HasSqlType<T22> + HasSqlType<T23> + HasSqlType<T24> + HasSqlType<T25> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + HasSqlType<T22> + HasSqlType<T23> + HasSqlType<T24> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + HasSqlType<T22> + HasSqlType<T23> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + HasSqlType<T22> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + HasSqlType<T21> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + HasSqlType<T20> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + HasSqlType<T19> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + HasSqlType<T18> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + HasSqlType<T17> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + HasSqlType<T16> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + Backend,

Source§

impl<T0, T1, T2, T3, T4, T5, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + Backend,

Source§

impl<T0, T1, T2, T3, T4, __DB> HasSqlType<(T0, T1, T2, T3, T4)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + Backend,

Source§

impl<T0, T1, T2, T3, __DB> HasSqlType<(T0, T1, T2, T3)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + Backend,

Source§

impl<T0, T1, T2, __DB> HasSqlType<(T0, T1, T2)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + HasSqlType<T2> + Backend,

Source§

impl<T0, T1, __DB> HasSqlType<(T0, T1)> for __DB
where __DB: HasSqlType<T0> + HasSqlType<T1> + Backend,

Source§

impl<T0, __DB> HasSqlType<(T0,)> for __DB
where __DB: HasSqlType<T0> + Backend,

Source§

impl<T> HasSqlType<Array<T>> for Pg
where Pg: HasSqlType<T>,

Available on crate feature postgres_backend only.
Source§

impl<T, DB> HasSqlType<Nullable<T>> for DB
where DB: Backend + HasSqlType<T>, T: SqlType,