Struct diesel::pg::DistinctOnClause
source · pub struct DistinctOnClause<T>(_);
Available on crate feature
postgres_backend
only.Expand description
Represents DISTINCT ON (...)
Trait Implementations§
source§impl<T: Clone> Clone for DistinctOnClause<T>
impl<T: Clone> Clone for DistinctOnClause<T>
source§fn clone(&self) -> DistinctOnClause<T>
fn clone(&self) -> DistinctOnClause<T>
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<T: Debug> Debug for DistinctOnClause<T>
impl<T: Debug> Debug for DistinctOnClause<T>
source§impl<T: QueryId> QueryId for DistinctOnClause<T>
impl<T: QueryId> QueryId for DistinctOnClause<T>
impl<T: Copy> Copy for DistinctOnClause<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for DistinctOnClause<T>where T: RefUnwindSafe,
impl<T> Send for DistinctOnClause<T>where T: Send,
impl<T> Sync for DistinctOnClause<T>where T: Sync,
impl<T> Unpin for DistinctOnClause<T>where T: Unpin,
impl<T> UnwindSafe for DistinctOnClause<T>where T: 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