Trait diesel::pg::OrderDecorator

source ·
pub trait OrderDecorator {
    type Column;
}
Available on crate feature postgres_backend only.
Expand description

A decorator trait for OrderClause It helps to have bounds on either Col, Asc and Desc.

Required Associated Types§

source

type Column

A column on a database table.

Implementors§

source§

impl<C> OrderDecorator for Asc<C>

§

type Column = C

source§

impl<C> OrderDecorator for Desc<C>

§

type Column = C

source§

impl<C> OrderDecorator for C
where C: Column,

§

type Column = C