diesel::sql_types

Trait SqlOrd

Source
pub trait SqlOrd: SqlType { }
Expand description

Marker trait for types which can be used with MAX and MIN

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl SqlOrd for BigInt

Source§

impl SqlOrd for Citext

Available on crate feature postgres_backend only.
Source§

impl SqlOrd for Date

Source§

impl SqlOrd for Datetime

Available on crate feature mysql_backend only.
Source§

impl SqlOrd for Double

Source§

impl SqlOrd for Float

Source§

impl SqlOrd for Integer

Source§

impl SqlOrd for Interval

Source§

impl SqlOrd for SmallInt

Source§

impl SqlOrd for Text

Source§

impl SqlOrd for Time

Source§

impl SqlOrd for Timestamp

Source§

impl SqlOrd for Timestamptz

Available on crate feature postgres_backend only.
Source§

impl SqlOrd for Unsigned<BigInt>

Available on crate feature mysql_backend only.
Source§

impl SqlOrd for Unsigned<Integer>

Available on crate feature mysql_backend only.
Source§

impl SqlOrd for Unsigned<SmallInt>

Available on crate feature mysql_backend only.
Source§

impl<T> SqlOrd for Nullable<T>
where T: SqlOrd + SqlType<IsNull = NotNull>,

Source§

impl<T: SqlOrd> SqlOrd for Array<T>

Available on crate feature postgres_backend only.