[][src]Trait diesel::sql_types::SingleValue

pub trait SingleValue { }

A marker trait indicating that a SQL type represents a single value, as opposed to a list of values.

This trait should generally be implemented for all SQL types with the exception of Rust tuples. If a column could have this as its type, this trait should be implemented.

Deriving

This trait is automatically implemented by #[derive(SqlType)]

Implementors

impl SingleValue for Datetime[src]

impl SingleValue for Cidr[src]

impl SingleValue for Inet[src]

impl SingleValue for Json[src]

impl SingleValue for Jsonb[src]

impl SingleValue for MacAddr[src]

impl SingleValue for Money[src]

impl SingleValue for Oid[src]

impl SingleValue for Timestamptz[src]

impl SingleValue for Uuid[src]

impl SingleValue for BigInt[src]

impl SingleValue for Binary[src]

impl SingleValue for Bool[src]

impl SingleValue for Date[src]

impl SingleValue for Double[src]

impl SingleValue for Float[src]

impl SingleValue for Integer[src]

impl SingleValue for Interval[src]

impl SingleValue for Numeric[src]

impl SingleValue for SmallInt[src]

impl SingleValue for Text[src]

impl SingleValue for Time[src]

impl SingleValue for Timestamp[src]

impl SingleValue for TinyInt[src]

impl<ST> SingleValue for Unsigned<ST>[src]

impl<ST> SingleValue for Array<ST>[src]

impl<ST> SingleValue for Range<ST>[src]

impl<ST> SingleValue for Record<ST>[src]

impl<T: NotNull + SingleValue> SingleValue for Nullable<T>[src]

Loading content...