Struct diesel::query_builder::OffsetClause
source · pub struct OffsetClause<Expr>(pub Expr);
Available on crate feature
i-implement-a-third-party-backend-and-opt-into-breaking-changes
only.Expand description
A query node representing an offset clause
This type is only relevant for implementing custom backends
Tuple Fields§
§0: Expr
Trait Implementations§
source§impl<Expr: Clone> Clone for OffsetClause<Expr>
impl<Expr: Clone> Clone for OffsetClause<Expr>
source§fn clone(&self) -> OffsetClause<Expr>
fn clone(&self) -> OffsetClause<Expr>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<Expr: Debug> Debug for OffsetClause<Expr>
impl<Expr: Debug> Debug for OffsetClause<Expr>
source§impl<Expr: QueryId> QueryId for OffsetClause<Expr>
impl<Expr: QueryId> QueryId for OffsetClause<Expr>
impl<Expr: Copy> Copy for OffsetClause<Expr>
Auto Trait Implementations§
impl<Expr> RefUnwindSafe for OffsetClause<Expr>where Expr: RefUnwindSafe,
impl<Expr> Send for OffsetClause<Expr>where Expr: Send,
impl<Expr> Sync for OffsetClause<Expr>where Expr: Sync,
impl<Expr> Unpin for OffsetClause<Expr>where Expr: Unpin,
impl<Expr> UnwindSafe for OffsetClause<Expr>where Expr: UnwindSafe,
Blanket Implementations§
source§impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB, NotSpecialized> + QueryId,
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere Conn: Connection<Backend = DB>, DB: Backend, T: QueryFragment<DB, NotSpecialized> + QueryId,
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