Trait diesel::query_dsl::methods::OffsetDsl

source ·
pub trait OffsetDsl {
    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,

§

type Output = <<Alias<S> as AsQuery>::Query as OffsetDsl>::Output

source§

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

§

type Output = <<T as AsQuery>::Query as OffsetDsl>::Output