diesel::query_dsl::methods

Trait OffsetDsl

Source
pub trait OffsetDsl<DummyArgForAutoType = i64> {
    type Output;

    // Required method
    fn offset(self, offset: i64) -> Self::Output;
}
Expand description

The offset 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 offset from generic code.

Required Associated Types§

Source

type Output

The type returned by .offset.

Required Methods§

Source

fn offset(self, offset: i64) -> Self::Output

See the trait documentation

Implementors§

Source§

impl<'a, ST, QS, DB, GB> OffsetDsl for BoxedSelectStatement<'a, ST, QS, DB, GB>

Source§

type Output = BoxedSelectStatement<'a, ST, QS, DB, GB>

Source§

impl<S> OffsetDsl for Alias<S>
where Self: AsQuery, <Self as AsQuery>::Query: OffsetDsl,

Source§

impl<ST, F, S, D, W, O, L, Of, G, H, LC> OffsetDsl for SelectStatement<F, S, D, W, O, LimitOffsetClause<L, Of>, G, H, LC>
where Self: SelectQuery<SqlType = ST>, SelectStatement<F, S, D, W, O, LimitOffsetClause<L, OffsetClause<AsExprOf<i64, BigInt>>>, G, H, LC>: SelectQuery<SqlType = ST>,

Source§

impl<T> OffsetDsl for T
where T: Table, T::Query: OffsetDsl,