pub struct BoxedLimitOffsetClause<'a, DB> {
    pub limit: Option<Box<dyn QueryFragment<DB> + Send + 'a>>,
    pub offset: Option<Box<dyn QueryFragment<DB> + Send + 'a>>,
}
Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
Expand description

A boxed variant of LimitOffsetClause

This type is only relevant for implementing custom backends

Fields

limit: Option<Box<dyn QueryFragment<DB> + Send + 'a>>

The limit clause

offset: Option<Box<dyn QueryFragment<DB> + Send + 'a>>

The offset clause

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert self to an expression for Diesel’s query builder. Read more
Convert &self to an expression for Diesel’s query builder. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.