diesel::pg

Trait 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>

Source§

impl<C> OrderDecorator for Desc<C>

Source§

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