Struct diesel::pg::DistinctOnClause[][src]

pub struct DistinctOnClause<T>(_);

Represents DISTINCT ON (...)

Trait Implementations

impl<T: QueryId> QueryId for DistinctOnClause<T>
[src]

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

HAS_STATIC_QUERY_ID: bool = <T as QueryId>::HAS_STATIC_QUERY_ID && true

Can the SQL generated by Self be uniquely identified by its type? Read more

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more

impl<T: Debug> Debug for DistinctOnClause<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for DistinctOnClause<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for DistinctOnClause<T>
[src]

impl<T> QueryFragment<Pg> for DistinctOnClause<T> where
    T: QueryFragment<Pg>, 
[src]

Walk over this QueryFragment for all passes. Read more

Converts this QueryFragment to its SQL representation. Read more

Serializes all bind parameters in this query. Read more

Is this query safe to store in the prepared statement cache? Read more

Auto Trait Implementations

impl<T> Send for DistinctOnClause<T> where
    T: Send

impl<T> Sync for DistinctOnClause<T> where
    T: Sync