[][src]Struct diesel::sqlite::Sqlite

pub struct Sqlite;

The SQLite backend

Trait Implementations

impl Backend for Sqlite
[src]

type QueryBuilder = SqliteQueryBuilder

The concrete QueryBuilder implementation for this backend.

type BindCollector = RawBytesBindCollector<Sqlite>

The concrete BindCollector implementation for this backend. Read more

type RawValue = SqliteValue

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 UsesAnsiSavepointSyntax for Sqlite
[src]

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

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

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

impl FromSql<Date, Sqlite> for *const str
[src]

The returned pointer is only valid for the lifetime to the argument of from_sql. This impl is intended for uses where you want to write a new impl in terms of String, but don't want to allocate. We have to return a raw pointer instead of a reference with a lifetime due to the structure of FromSql

impl FromSql<Time, Sqlite> for *const str
[src]

The returned pointer is only valid for the lifetime to the argument of from_sql. This impl is intended for uses where you want to write a new impl in terms of String, but don't want to allocate. We have to return a raw pointer instead of a reference with a lifetime due to the structure of FromSql

impl FromSql<Timestamp, Sqlite> for *const str
[src]

The returned pointer is only valid for the lifetime to the argument of from_sql. This impl is intended for uses where you want to write a new impl in terms of String, but don't want to allocate. We have to return a raw pointer instead of a reference with a lifetime due to the structure of FromSql

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

impl FromSql<Text, Sqlite> for *const str
[src]

The returned pointer is only valid for the lifetime to the argument of from_sql. This impl is intended for uses where you want to write a new impl in terms of String, but don't want to allocate. We have to return a raw pointer instead of a reference with a lifetime due to the structure of FromSql

impl FromSql<Binary, Sqlite> for *const [u8]
[src]

The returned pointer is only valid for the lifetime to the argument of from_sql. This impl is intended for uses where you want to write a new impl in terms of Vec<u8>, but don't want to allocate. We have to return a raw pointer instead of a reference with a lifetime due to the structure of FromSql

impl FromSql<SmallInt, Sqlite> for i16
[src]

impl FromSql<Integer, Sqlite> for i32
[src]

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

impl FromSql<BigInt, Sqlite> for i64
[src]

impl FromSql<Float, Sqlite> for f32
[src]

impl FromSql<Double, Sqlite> for f64
[src]

impl QueryBuilder<Sqlite> for SqliteQueryBuilder
[src]

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

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

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

impl ToSql<Date, Sqlite> for str
[src]

impl ToSql<Date, Sqlite> for String
[src]

impl ToSql<Time, Sqlite> for str
[src]

impl ToSql<Time, Sqlite> for String
[src]

impl ToSql<Timestamp, Sqlite> for str
[src]

impl ToSql<Timestamp, Sqlite> for String
[src]

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

impl HasSqlType<Bool> for Sqlite
[src]

impl HasSqlType<SmallInt> for Sqlite
[src]

impl HasSqlType<Integer> for Sqlite
[src]

impl HasSqlType<BigInt> for Sqlite
[src]

impl HasSqlType<Float> for Sqlite
[src]

impl HasSqlType<Double> for Sqlite
[src]

impl HasSqlType<Numeric> for Sqlite
[src]

impl HasSqlType<Text> for Sqlite
[src]

impl HasSqlType<Binary> for Sqlite
[src]

impl HasSqlType<Date> for Sqlite
[src]

impl HasSqlType<Time> for Sqlite
[src]

impl HasSqlType<Timestamp> for Sqlite
[src]

impl TypeMetadata for Sqlite
[src]

type TypeMetadata = SqliteType

The actual type used to represent metadata. Read more

type MetadataLookup = ()

The type used for runtime lookup of metadata. Read more

impl Eq for Sqlite
[src]

impl Copy for Sqlite
[src]

impl PartialEq<Sqlite> for Sqlite
[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for Sqlite
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Sqlite
[src]

impl Hash for Sqlite
[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

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

Auto Trait Implementations

impl Send for Sqlite

impl Sync for Sqlite

Blanket Implementations

impl<T> IntoSql for T
[src]

fn into_sql<T>(self) -> AsExprOf<Self, T> where
    Self: AsExpression<T> + Sized
[src]

Convert self to an expression for Diesel's query builder. Read more

fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
    &'a Self: AsExpression<T>, 
[src]

Convert &self to an expression for Diesel's query builder. Read more

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

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

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

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

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

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

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

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

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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