pub trait HasSqlType<ST>: TypeMetadata {
fn metadata() -> Self::TypeMetadata;
fn row_metadata(out: &mut Vec<Self::TypeMetadata>) { ... }
}
Required Methods
Provided Methods
Implementors
impl<T, DB> HasSqlType<Nullable<T>> for DB where DB: Backend + HasSqlType<T>,
T: NotNull
impl HasSqlType<Bool> for Debug
impl HasSqlType<Bool> for Sqlite
impl HasSqlType<SmallInt> for Debug
impl HasSqlType<SmallInt> for Sqlite
impl HasSqlType<Integer> for Debug
impl HasSqlType<Integer> for Sqlite
impl HasSqlType<BigInt> for Debug
impl HasSqlType<BigInt> for Sqlite
impl HasSqlType<Float> for Debug
impl HasSqlType<Float> for Sqlite
impl HasSqlType<Double> for Debug
impl HasSqlType<Double> for Sqlite
impl HasSqlType<Text> for Debug
impl HasSqlType<Text> for Sqlite
impl HasSqlType<Binary> for Debug
impl HasSqlType<Binary> for Sqlite
impl HasSqlType<Date> for Debug
impl HasSqlType<Time> for Debug
impl HasSqlType<Timestamp> for Debug
impl<A, DB> HasSqlType<(A,)> for DB where DB: HasSqlType<A>, DB: Backend
impl<A, B, DB> HasSqlType<(A, B)> for DB where DB: HasSqlType<A>,
DB: HasSqlType<B>,
DB: Backend
impl<A, B, C, DB> HasSqlType<(A, B, C)> for DB where DB: HasSqlType<A>,
DB: HasSqlType<B>,
DB: HasSqlType<C>,
DB: Backend
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
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
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
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
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
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
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
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
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
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
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
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
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
impl HasSqlType<Date> for Sqlite
impl HasSqlType<Time> for Sqlite
impl HasSqlType<Timestamp> for Sqlite