Struct typed_sql::query::select::order::OrderBy[][src]

pub struct OrderBy<Q, O> { /* fields omitted */ }

Trait Implementations

impl<S, O> Select for OrderBy<S, O> where
    S: Select,
    O: Order
[src]

impl<Q, O> ToSql for OrderBy<Q, O> where
    Q: Select,
    O: Order
[src]

fn write_sql_unchecked(&self, sql: &mut String)[src]

fn write_sql(&self, sql: &mut String) where
    Self: CheckedSql
[src]

fn to_sql_unchecked(&self) -> String[src]

fn to_sql(&self) -> String where
    Self: CheckedSql
[src]

impl<Q: CheckedSql, O> CheckedSql for OrderBy<Q, O>[src]

Auto Trait Implementations

impl<Q, O> RefUnwindSafe for OrderBy<Q, O> where
    O: RefUnwindSafe,
    Q: RefUnwindSafe

impl<Q, O> Send for OrderBy<Q, O> where
    O: Send,
    Q: Send

impl<Q, O> Sync for OrderBy<Q, O> where
    O: Sync,
    Q: Sync

impl<Q, O> Unpin for OrderBy<Q, O> where
    O: Unpin,
    Q: Unpin

impl<Q, O> UnwindSafe for OrderBy<Q, O> where
    O: UnwindSafe,
    Q: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<S> Filterable for S where
    S: Select
[src]

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> Query for T[src]

fn prepare<F, S>(name: &str, f: F) -> Prepare<'_, Self, S> where
    Self: Binding,
    F: FnOnce(Self::Bindings) -> S,
    S: ToSql
[src]

Examples Read more

fn select(self) -> SelectStatement<Self, WildCard> where
    Self: Selectable
[src]

Examples Read more

fn query<Q>(self, query: Q) -> SelectStatement<Self, Q> where
    Self: Selectable,
    Q: WriteQueryable
[src]

Examples Read more

fn count<F, T>(self, f: F) -> SelectStatement<Self, Count<T>> where
    Self: Selectable,
    F: FnOnce(Self::Fields) -> T,
    Count<T>: WriteQueryable
[src]

Examples Read more

fn insert<I>(self, value: I) -> InsertStatement<Self::Table, I> where
    Self: TableQueryable,
    I: Insertable
[src]

fn insert_values<I>(self, values: I) -> InsertStatement<Self::Table, Values<I>> where
    Self: TableQueryable,
    I: IntoIterator + Clone,
    I::Item: Insertable
[src]

fn insert_select<S, I>(
    self,
    select: S
) -> InsertStatement<Self::Table, InsertSelect<S, I>> where
    Self: TableQueryable,
    S: Select,
    I: Insertable
[src]

fn update<F, S>(self, f: F) -> Update<Self::Table, S> where
    Self: TableQueryable,
    F: FnOnce(<Self::Table as Table>::Fields) -> S,
    S: UpdateSet
[src]

fn delete(self) -> Delete<Self::Table> where
    Self: TableQueryable
[src]

fn filter<F, P>(self, f: F) -> Filter<Self, P> where
    Self: Filterable,
    F: FnOnce(Self::Fields) -> P, 
[src]

fn and<P>(self, predicate: P) -> And<Self, P> where
    Self: Predicate,
    P: Predicate
[src]

fn or<P>(self, predicate: P) -> Or<Self, P> where
    Self: Predicate,
    P: Predicate
[src]

fn group_by<F, O>(self, f: F) -> GroupBy<Self, O> where
    Self: Select,
    F: FnOnce(<Self::Selectable as Selectable>::Fields) -> O,
    O: GroupOrder
[src]

Examples Read more

fn order_by<F, O>(self, f: F) -> OrderBy<Self, O> where
    Self: Select,
    F: FnOnce(<Self::Selectable as Selectable>::Fields) -> O,
    O: Order
[src]

Examples Read more

fn limit(self, limit: usize) -> Limit<Self> where
    Self: Select
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.