Trait diesel::query_dsl::methods::BoxedDsl

source ·
pub trait BoxedDsl<'a, DB> {
    type Output;

    // Required method
    fn internal_into_boxed(self) -> IntoBoxed<'a, Self, DB>;
}
Expand description

The into_boxed method

This trait should not be relied on directly by most apps. Its behavior is provided by QueryDsl. However, you may need a where clause on this trait to call into_boxed from generic code.

Required Associated Types§

source

type Output

The return type of internal_into_boxed

Required Methods§

source

fn internal_into_boxed(self) -> IntoBoxed<'a, Self, DB>

See the trait documentation.

Implementors§

source§

impl<'a, S, DB> BoxedDsl<'a, DB> for Alias<S>
where Alias<S>: QuerySource + AsQuery<Query = SelectStatement<FromClause<Alias<S>>>>, SelectStatement<FromClause<Alias<S>>>: BoxedDsl<'a, DB>, <Alias<S> as QuerySource>::DefaultSelection: Expression<SqlType = <Alias<S> as AsQuery>::SqlType> + ValidGrouping<()>, <Alias<S> as AsQuery>::SqlType: TypedExpressionType,

source§

type Output = <SelectStatement<FromClause<Alias<S>>> as BoxedDsl<'a, DB>>::Output

source§

impl<'a, T, DB> BoxedDsl<'a, DB> for T
where T: Table + AsQuery<Query = SelectStatement<FromClause<T>>>, SelectStatement<FromClause<T>>: BoxedDsl<'a, DB>, T::DefaultSelection: Expression<SqlType = T::SqlType> + ValidGrouping<()>, T::SqlType: TypedExpressionType,

source§

type Output = <SelectStatement<FromClause<T>> as BoxedDsl<'a, DB>>::Output

source§

impl<'a, T, U, Ret, DB> BoxedDsl<'a, DB> for DeleteStatement<T, U, Ret>
where U: Into<BoxedWhereClause<'a, DB>>, T: QuerySource,

source§

type Output = DeleteStatement<T, BoxedWhereClause<'a, DB>, Ret>

source§

impl<'a, T, U, V, Ret, DB> BoxedDsl<'a, DB> for UpdateStatement<T, U, V, Ret>
where T: QuerySource, U: Into<BoxedWhereClause<'a, DB>>,

source§

type Output = UpdateStatement<T, BoxedWhereClause<'a, DB>, V, Ret>