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<S> OffsetDsl for Alias<S>
where Self: AsQuery, <Self as AsQuery>::Query: OffsetDsl,

Source§

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