[][src]Trait diesel::sql_types::HasSqlType

pub trait HasSqlType<ST>: TypeMetadata {
    fn metadata(lookup: &Self::MetadataLookup) -> Self::TypeMetadata;
}

Indicates that a SQL type exists for a backend.

Deriving

This trait can be automatically derived by #[derive(SqlType)]. This derive will also implement NotNull and SingleValue. When deriving this trait, you need to specify how the type is represented on various backends. You don't need to specify every backend, only the ones supported by your type.

For PostgreSQL, add #[postgres(oid = "some_oid", array_oid = "some_oid")] or #[postgres(type_name = "pg_type_name")] if the OID is not stable. For MySQL, specify which variant of MysqlType should be used by adding #[mysql_type = "Variant"]. For SQLite, specify which variant of SqliteType should be used by adding #[sqlite_type = "Variant"].

Example

#[derive(SqlType)]
#[postgres(oid = "23", array_oid = "1007")]
#[sqlite_type = "Integer"]
#[mysql_type = "Long"]
pub struct Integer;

Required methods

fn metadata(lookup: &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

Loading content...

Implementors

impl HasSqlType<Datetime> for Mysql[src]

impl HasSqlType<Cidr> for Pg[src]

impl HasSqlType<Inet> for Pg[src]

impl HasSqlType<Json> for Pg[src]

impl HasSqlType<Jsonb> for Pg[src]

impl HasSqlType<MacAddr> for Pg[src]

impl HasSqlType<Money> for Pg[src]

impl HasSqlType<Oid> for Pg[src]

impl HasSqlType<Range<Timestamptz>> for Pg[src]

impl HasSqlType<Range<BigInt>> for Pg[src]

impl HasSqlType<Range<Date>> for Pg[src]

impl HasSqlType<Range<Integer>> for Pg[src]

impl HasSqlType<Range<Numeric>> for Pg[src]

impl HasSqlType<Range<Timestamp>> for Pg[src]

impl HasSqlType<Timestamptz> for Pg[src]

impl HasSqlType<Uuid> for Pg[src]

impl HasSqlType<BigInt> for Mysql[src]

impl HasSqlType<BigInt> for Pg[src]

impl HasSqlType<BigInt> for Sqlite[src]

impl HasSqlType<Binary> for Mysql[src]

impl HasSqlType<Binary> for Pg[src]

impl HasSqlType<Binary> for Sqlite[src]

impl HasSqlType<Bool> for Mysql[src]

impl HasSqlType<Bool> for Pg[src]

impl HasSqlType<Bool> for Sqlite[src]

impl HasSqlType<Date> for Mysql[src]

impl HasSqlType<Date> for Pg[src]

impl HasSqlType<Date> for Sqlite[src]

impl HasSqlType<Double> for Mysql[src]

impl HasSqlType<Double> for Pg[src]

impl HasSqlType<Double> for Sqlite[src]

impl HasSqlType<Float> for Mysql[src]

impl HasSqlType<Float> for Pg[src]

impl HasSqlType<Float> for Sqlite[src]

impl HasSqlType<Integer> for Mysql[src]

impl HasSqlType<Integer> for Pg[src]

impl HasSqlType<Integer> for Sqlite[src]

impl HasSqlType<Interval> for Pg[src]

impl HasSqlType<Numeric> for Mysql[src]

impl HasSqlType<Numeric> for Pg[src]

impl HasSqlType<Numeric> for Sqlite[src]

impl HasSqlType<SmallInt> for Mysql[src]

impl HasSqlType<SmallInt> for Pg[src]

impl HasSqlType<SmallInt> for Sqlite[src]

impl HasSqlType<Text> for Mysql[src]

impl HasSqlType<Text> for Pg[src]

impl HasSqlType<Text> for Sqlite[src]

impl HasSqlType<Time> for Mysql[src]

impl HasSqlType<Time> for Pg[src]

impl HasSqlType<Time> for Sqlite[src]

impl HasSqlType<Timestamp> for Mysql[src]

impl HasSqlType<Timestamp> for Pg[src]

impl HasSqlType<Timestamp> for Sqlite[src]

impl HasSqlType<TinyInt> for Mysql[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: HasSqlType<W>,
    __DB: HasSqlType<X>,
    __DB: HasSqlType<Y>,
    __DB: HasSqlType<Z>,
    __DB: HasSqlType<AA>,
    __DB: HasSqlType<AB>,
    __DB: HasSqlType<AC>,
    __DB: HasSqlType<AD>,
    __DB: HasSqlType<AE>,
    __DB: HasSqlType<AF>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: HasSqlType<W>,
    __DB: HasSqlType<X>,
    __DB: HasSqlType<Y>,
    __DB: HasSqlType<Z>,
    __DB: HasSqlType<AA>,
    __DB: HasSqlType<AB>,
    __DB: HasSqlType<AC>,
    __DB: HasSqlType<AD>,
    __DB: HasSqlType<AE>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: HasSqlType<W>,
    __DB: HasSqlType<X>,
    __DB: HasSqlType<Y>,
    __DB: HasSqlType<Z>,
    __DB: HasSqlType<AA>,
    __DB: HasSqlType<AB>,
    __DB: HasSqlType<AC>,
    __DB: HasSqlType<AD>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: HasSqlType<W>,
    __DB: HasSqlType<X>,
    __DB: HasSqlType<Y>,
    __DB: HasSqlType<Z>,
    __DB: HasSqlType<AA>,
    __DB: HasSqlType<AB>,
    __DB: HasSqlType<AC>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: HasSqlType<W>,
    __DB: HasSqlType<X>,
    __DB: HasSqlType<Y>,
    __DB: HasSqlType<Z>,
    __DB: HasSqlType<AA>,
    __DB: HasSqlType<AB>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: HasSqlType<W>,
    __DB: HasSqlType<X>,
    __DB: HasSqlType<Y>,
    __DB: HasSqlType<Z>,
    __DB: HasSqlType<AA>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: HasSqlType<W>,
    __DB: HasSqlType<X>,
    __DB: HasSqlType<Y>,
    __DB: HasSqlType<Z>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: HasSqlType<W>,
    __DB: HasSqlType<X>,
    __DB: HasSqlType<Y>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: HasSqlType<W>,
    __DB: HasSqlType<X>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: HasSqlType<W>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: HasSqlType<V>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: HasSqlType<U>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: HasSqlType<T>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: HasSqlType<S>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: HasSqlType<R>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: HasSqlType<Q>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: HasSqlType<P>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: HasSqlType<O>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M, N)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: HasSqlType<N>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L, M)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: HasSqlType<M>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K, L)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: HasSqlType<L>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J, K)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: HasSqlType<K>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, J, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I, J)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: HasSqlType<J>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, I, __DB> HasSqlType<(A, B, C, D, E, F, G, H, I)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: HasSqlType<I>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, H, __DB> HasSqlType<(A, B, C, D, E, F, G, H)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: HasSqlType<H>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, G, __DB> HasSqlType<(A, B, C, D, E, F, G)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: HasSqlType<G>,
    __DB: Backend
[src]

impl<A, B, C, D, E, F, __DB> HasSqlType<(A, B, C, D, E, F)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: HasSqlType<F>,
    __DB: Backend
[src]

impl<A, B, C, D, E, __DB> HasSqlType<(A, B, C, D, E)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: HasSqlType<E>,
    __DB: Backend
[src]

impl<A, B, C, D, __DB> HasSqlType<(A, B, C, D)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: HasSqlType<D>,
    __DB: Backend
[src]

impl<A, B, C, __DB> HasSqlType<(A, B, C)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: HasSqlType<C>,
    __DB: Backend
[src]

impl<A, B, __DB> HasSqlType<(A, B)> for __DB where
    __DB: HasSqlType<A>,
    __DB: HasSqlType<B>,
    __DB: Backend
[src]

impl<A, __DB> HasSqlType<(A,)> for __DB where
    __DB: HasSqlType<A>,
    __DB: Backend
[src]

impl<ST> HasSqlType<Unsigned<ST>> for Mysql where
    Mysql: HasSqlType<ST>, 
[src]

impl<ST> HasSqlType<Record<ST>> for Pg[src]

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

impl<T, DB> HasSqlType<Nullable<T>> for DB where
    DB: Backend + HasSqlType<T>,
    T: NotNull
[src]

Loading content...