[][src]Struct diesel::query_builder::DebugQuery

pub struct DebugQuery<'a, T: 'a, DB> { /* fields omitted */ }

A struct that implements fmt::Display and fmt::Debug to show the SQL representation of a query.

The Display implementation will be the exact query sent to the server, plus a comment with the values of the bind parameters. The Debug implementation is more structured, and able to be pretty printed.

See debug_query for usage examples.

Trait Implementations

impl<'a, T, DB> Display for DebugQuery<'a, T, DB> where
    DB: Backend,
    DB::QueryBuilder: Default,
    T: QueryFragment<DB>, 
[src]

impl<'a, T, DB> Debug for DebugQuery<'a, T, DB> where
    DB: Backend,
    DB::QueryBuilder: Default,
    T: QueryFragment<DB>, 
[src]

Auto Trait Implementations

impl<'a, T, DB> Send for DebugQuery<'a, T, DB> where
    DB: Send,
    T: Sync

impl<'a, T, DB> Sync for DebugQuery<'a, T, DB> where
    DB: Sync,
    T: Sync

impl<'a, T, DB> Unpin for DebugQuery<'a, T, DB> where
    DB: Unpin

impl<'a, T, DB> UnwindSafe for DebugQuery<'a, T, DB> where
    DB: UnwindSafe,
    T: RefUnwindSafe

impl<'a, T, DB> RefUnwindSafe for DebugQuery<'a, T, DB> where
    DB: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

impl<T> IntoSql for T[src]

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

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

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

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

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