Struct diesel::query_builder::BoxedLimitOffsetClause
source · 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§
impl<'a, DB> !RefUnwindSafe for BoxedLimitOffsetClause<'a, DB>
impl<'a, DB> Send for BoxedLimitOffsetClause<'a, DB>
impl<'a, DB> !Sync for BoxedLimitOffsetClause<'a, DB>
impl<'a, DB> Unpin for BoxedLimitOffsetClause<'a, DB>
impl<'a, DB> !UnwindSafe for BoxedLimitOffsetClause<'a, DB>
Blanket Implementations§
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> AsExprOf<Self, T>where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> AsExprOf<Self, T>where Self: AsExpression<T> + Sized, T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more