Trait diesel::sql_types::SingleValue [−][src]
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 Boolimpl SingleValue for Tinyintimpl SingleValue for SmallIntimpl SingleValue for Integerimpl SingleValue for BigIntimpl SingleValue for Floatimpl SingleValue for Doubleimpl SingleValue for Numericimpl SingleValue for Textimpl SingleValue for Binaryimpl SingleValue for Dateimpl SingleValue for Intervalimpl SingleValue for Timeimpl SingleValue for Timestampimpl<T: NotNull + SingleValue> SingleValue for Nullable<T>impl<ST> SingleValue for Unsigned<ST>impl SingleValue for Datetimeimpl SingleValue for Oidimpl SingleValue for Timestamptzimpl<ST> SingleValue for Array<ST>impl<ST> SingleValue for Range<ST>impl<ST> SingleValue for Record<ST>impl SingleValue for Uuidimpl SingleValue for Jsonimpl SingleValue for Jsonbimpl SingleValue for Moneyimpl SingleValue for MacAddrimpl SingleValue for Inetimpl SingleValue for Cidr