diesel::query_dsl::methods

Trait 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, D, W, O, LOf, G, H, DB> BoxedDsl<'a, DB> for SelectStatement<NoFromClause, S, D, W, O, LOf, G, H>
where Self: AsQuery, DB: Backend, S: SelectClauseExpression<NoFromClause> + QueryFragment<DB> + Send + 'a, S::Selection: ValidGrouping<G::Expressions>, D: QueryFragment<DB> + Send + 'a, W: Into<BoxedWhereClause<'a, DB>>, O: Into<Option<Box<dyn QueryFragment<DB> + Send + 'a>>>, LOf: IntoBoxedClause<'a, DB, BoxedClause = BoxedLimitOffsetClause<'a, DB>>, G: ValidGroupByClause + QueryFragment<DB> + Send + 'a, H: QueryFragment<DB> + Send + 'a,

source§

type Output = BoxedSelectStatement<'a, <S as SelectClauseExpression<NoFromClause>>::SelectClauseSqlType, NoFromClause, DB, <G as ValidGroupByClause>::Expressions>

source§

impl<'a, S, DB> BoxedDsl<'a, DB> for Alias<S>

source§

impl<'a, T, DB> BoxedDsl<'a, DB> for T

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>