[][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 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<T: NotNull + SingleValue> SingleValue for Nullable<T>
[src]