[][src]Struct diesel::query_builder::LimitOffsetClause

pub struct LimitOffsetClause<Limit, Offset> {
    pub limit_clause: Limit,
    pub offset_clause: Offset,
}

A helper query node that contains both limit and offset clauses

This type is only relevant for implementing custom backends

Fields

limit_clause: Limit

The limit clause

offset_clause: Offset

The offset clause

Trait Implementations

impl<Limit: Clone, Offset: Clone> Clone for LimitOffsetClause<Limit, Offset>[src]

impl<Limit: Copy, Offset: Copy> Copy for LimitOffsetClause<Limit, Offset>[src]

impl<Limit: Debug, Offset: Debug> Debug for LimitOffsetClause<Limit, Offset>[src]

impl<'a> IntoBoxedClause<'a, Mysql> for LimitOffsetClause<NoLimitClause, NoOffsetClause>[src]

type BoxedClause = BoxedLimitOffsetClause<'a, Mysql>

Resulting type

impl<'a, L> IntoBoxedClause<'a, Mysql> for LimitOffsetClause<LimitClause<L>, NoOffsetClause> where
    L: QueryFragment<Mysql> + Send + 'a, 
[src]

type BoxedClause = BoxedLimitOffsetClause<'a, Mysql>

Resulting type

impl<'a, L, O> IntoBoxedClause<'a, Mysql> for LimitOffsetClause<LimitClause<L>, OffsetClause<O>> where
    L: QueryFragment<Mysql> + Send + 'a,
    O: QueryFragment<Mysql> + Send + 'a, 
[src]

type BoxedClause = BoxedLimitOffsetClause<'a, Mysql>

Resulting type

impl<'a, L, O> IntoBoxedClause<'a, Pg> for LimitOffsetClause<L, O> where
    L: QueryFragment<Pg> + Send + 'a,
    O: QueryFragment<Pg> + Send + 'a, 
[src]

type BoxedClause = BoxedLimitOffsetClause<'a, Pg>

Resulting type

impl<'a> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<NoLimitClause, NoOffsetClause>[src]

type BoxedClause = BoxedLimitOffsetClause<'a, Sqlite>

Resulting type

impl<'a, L> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<LimitClause<L>, NoOffsetClause> where
    L: QueryFragment<Sqlite> + Send + 'a, 
[src]

type BoxedClause = BoxedLimitOffsetClause<'a, Sqlite>

Resulting type

impl<'a, O> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<NoLimitClause, OffsetClause<O>> where
    O: QueryFragment<Sqlite> + Send + 'a, 
[src]

type BoxedClause = BoxedLimitOffsetClause<'a, Sqlite>

Resulting type

impl<'a, L, O> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<LimitClause<L>, OffsetClause<O>> where
    L: QueryFragment<Sqlite> + Send + 'a,
    O: QueryFragment<Sqlite> + Send + 'a, 
[src]

type BoxedClause = BoxedLimitOffsetClause<'a, Sqlite>

Resulting type

impl QueryFragment<Mysql> for LimitOffsetClause<NoLimitClause, NoOffsetClause>[src]

impl<L> QueryFragment<Mysql> for LimitOffsetClause<LimitClause<L>, NoOffsetClause> where
    LimitClause<L>: QueryFragment<Mysql>, 
[src]

impl<L, O> QueryFragment<Mysql> for LimitOffsetClause<LimitClause<L>, OffsetClause<O>> where
    LimitClause<L>: QueryFragment<Mysql>,
    OffsetClause<O>: QueryFragment<Mysql>, 
[src]

impl<L, O> QueryFragment<Pg> for LimitOffsetClause<L, O> where
    L: QueryFragment<Pg>,
    O: QueryFragment<Pg>, 
[src]

impl QueryFragment<Sqlite> for LimitOffsetClause<NoLimitClause, NoOffsetClause>[src]

impl<L> QueryFragment<Sqlite> for LimitOffsetClause<LimitClause<L>, NoOffsetClause> where
    LimitClause<L>: QueryFragment<Sqlite>, 
[src]

impl<O> QueryFragment<Sqlite> for LimitOffsetClause<NoLimitClause, OffsetClause<O>> where
    OffsetClause<O>: QueryFragment<Sqlite>, 
[src]

impl<L, O> QueryFragment<Sqlite> for LimitOffsetClause<LimitClause<L>, OffsetClause<O>> where
    LimitClause<L>: QueryFragment<Sqlite>,
    OffsetClause<O>: QueryFragment<Sqlite>, 
[src]

impl<Limit: QueryId, Offset: QueryId> QueryId for LimitOffsetClause<Limit, Offset>[src]

type QueryId = LimitOffsetClause<<Limit as QueryId>::QueryId, <Offset as QueryId>::QueryId>

A type which uniquely represents Self in a SQL query. Read more

Auto Trait Implementations

impl<Limit, Offset> RefUnwindSafe for LimitOffsetClause<Limit, Offset> where
    Limit: RefUnwindSafe,
    Offset: RefUnwindSafe

impl<Limit, Offset> Send for LimitOffsetClause<Limit, Offset> where
    Limit: Send,
    Offset: Send

impl<Limit, Offset> Sync for LimitOffsetClause<Limit, Offset> where
    Limit: Sync,
    Offset: Sync

impl<Limit, Offset> Unpin for LimitOffsetClause<Limit, Offset> where
    Limit: Unpin,
    Offset: Unpin

impl<Limit, Offset> UnwindSafe for LimitOffsetClause<Limit, Offset> where
    Limit: UnwindSafe,
    Offset: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T where
    Conn: Connection<Backend = DB>,
    DB: Backend,
    T: QueryFragment<DB> + QueryId
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]