diesel::pg

Trait OrderDecorator

source
pub trait OrderDecorator {
    type Column;
}
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>

source§

impl<C> OrderDecorator for Desc<C>

source§

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