Struct diesel::mysql::Mysql[][src]

pub struct Mysql;

The MySQL backend

Trait Implementations

impl Backend for Mysql[src]

type QueryBuilder = MysqlQueryBuilder

The concrete QueryBuilder implementation for this backend.

type BindCollector = MysqlBindCollector

The concrete BindCollector implementation for this backend. Read more

type RawValue = [u8]

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

type ByteOrder = NativeEndian

What byte order is used to transmit integers? Read more

impl Clone for Mysql[src]

impl Copy for Mysql[src]

impl Debug for Mysql[src]

impl Eq for Mysql[src]

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

impl FromSql<Date, Mysql> for MYSQL_TIME[src]

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

impl FromSql<Datetime, Mysql> for MYSQL_TIME[src]

impl FromSql<Datetime, Mysql> for NaiveDateTime[src]

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

impl FromSql<Time, Mysql> for MYSQL_TIME[src]

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

impl FromSql<Timestamp, Mysql> for MYSQL_TIME[src]

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

impl FromSql<TinyInt, Mysql> for i8[src]

impl FromSql<Unsigned<BigInt>, Mysql> for u64[src]

impl FromSql<Unsigned<Integer>, Mysql> for u32[src]

impl FromSql<Unsigned<SmallInt>, Mysql> for u16[src]

impl FromSql<Unsigned<TinyInt>, Mysql> for u8[src]

impl HasSqlType<BigInt> for Mysql[src]

impl HasSqlType<Binary> for Mysql[src]

impl HasSqlType<Bool> for Mysql[src]

impl HasSqlType<Date> for Mysql[src]

impl HasSqlType<Datetime> for Mysql[src]

impl HasSqlType<Double> for Mysql[src]

impl HasSqlType<Float> for Mysql[src]

impl HasSqlType<Integer> for Mysql[src]

impl HasSqlType<Numeric> for Mysql[src]

impl HasSqlType<SmallInt> for Mysql[src]

impl HasSqlType<Text> for Mysql[src]

impl HasSqlType<Time> for Mysql[src]

impl HasSqlType<Timestamp> for Mysql[src]

impl HasSqlType<TinyInt> for Mysql[src]

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

impl Hash for Mysql[src]

impl PartialEq<Mysql> for Mysql[src]

impl QueryBuilder<Mysql> for MysqlQueryBuilder[src]

impl StructuralEq for Mysql[src]

impl StructuralPartialEq for Mysql[src]

impl SupportsDefaultKeyword for Mysql[src]

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

impl ToSql<Date, Mysql> for MYSQL_TIME[src]

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

impl ToSql<Datetime, Mysql> for MYSQL_TIME[src]

impl ToSql<Datetime, Mysql> for NaiveDateTime[src]

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

impl ToSql<Time, Mysql> for MYSQL_TIME[src]

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

impl ToSql<Timestamp, Mysql> for MYSQL_TIME[src]

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

impl ToSql<TinyInt, Mysql> for i8[src]

impl ToSql<Unsigned<BigInt>, Mysql> for u64[src]

impl ToSql<Unsigned<Integer>, Mysql> for u32[src]

impl ToSql<Unsigned<SmallInt>, Mysql> for u16[src]

impl ToSql<Unsigned<TinyInt>, Mysql> for u8[src]

impl TypeMetadata for Mysql[src]

type TypeMetadata = MysqlType

The actual type used to represent metadata. Read more

type MetadataLookup = ()

The type used for runtime lookup of metadata. Read more

impl UsesAnsiSavepointSyntax for Mysql[src]

Auto Trait Implementations

impl RefUnwindSafe for Mysql

impl Send for Mysql

impl Sync for Mysql

impl Unpin for Mysql

impl UnwindSafe for Mysql

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[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> + HasSqlType<B> + HasSqlType<C> + HasSqlType<D> + HasSqlType<E> + HasSqlType<F> + HasSqlType<G> + HasSqlType<H> + HasSqlType<I> + HasSqlType<J> + HasSqlType<K> + HasSqlType<L> + HasSqlType<M> + HasSqlType<N> + HasSqlType<O> + HasSqlType<P> + 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> + HasSqlType<B> + HasSqlType<C> + HasSqlType<D> + HasSqlType<E> + HasSqlType<F> + HasSqlType<G> + HasSqlType<H> + HasSqlType<I> + HasSqlType<J> + HasSqlType<K> + HasSqlType<L> + HasSqlType<M> + HasSqlType<N> + HasSqlType<O> + 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> + HasSqlType<B> + HasSqlType<C> + HasSqlType<D> + HasSqlType<E> + HasSqlType<F> + HasSqlType<G> + HasSqlType<H> + HasSqlType<I> + HasSqlType<J> + HasSqlType<K> + HasSqlType<L> + HasSqlType<M> + HasSqlType<N> + 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> + HasSqlType<B> + HasSqlType<C> + HasSqlType<D> + HasSqlType<E> + HasSqlType<F> + HasSqlType<G> + HasSqlType<H> + HasSqlType<I> + HasSqlType<J> + HasSqlType<K> + HasSqlType<L> + HasSqlType<M> + 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> + HasSqlType<B> + HasSqlType<C> + HasSqlType<D> + HasSqlType<E> + HasSqlType<F> + HasSqlType<G> + HasSqlType<H> + HasSqlType<I> + HasSqlType<J> + HasSqlType<K> + HasSqlType<L> + 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> + HasSqlType<B> + HasSqlType<C> + HasSqlType<D> + HasSqlType<E> + HasSqlType<F> + HasSqlType<G> + HasSqlType<H> + HasSqlType<I> + HasSqlType<J> + HasSqlType<K> + 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> + HasSqlType<B> + HasSqlType<C> + HasSqlType<D> + HasSqlType<E> + HasSqlType<F> + HasSqlType<G> + HasSqlType<H> + HasSqlType<I> + HasSqlType<J> + 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> + HasSqlType<B> + HasSqlType<C> + HasSqlType<D> + HasSqlType<E> + HasSqlType<F> + HasSqlType<G> + HasSqlType<H> + HasSqlType<I> + 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> + HasSqlType<B> + HasSqlType<C> + HasSqlType<D> + HasSqlType<E> + HasSqlType<F> + HasSqlType<G> + HasSqlType<H> + 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> + HasSqlType<B> + HasSqlType<C> + HasSqlType<D> + HasSqlType<E> + HasSqlType<F> + HasSqlType<G> + Backend
[src]

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

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

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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.