pub trait LimitDsl {
    type Output;

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

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

Required Associated Types§

source

type Output

The type returned by .limit

Required Methods§

source

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

See the trait documentation

Implementors§

source§

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

§

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

source§

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

§

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