pub trait SingleValue: SqlType { }
Expand description

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§