Trait diesel::sql_types::SqlType[][src]

pub trait SqlType: 'static {
    type IsNull: OneIsNullable<IsNullable> + OneIsNullable<NotNull>;
}
Expand description

A marker trait for SQL types

Deriving

This trait is automatically implemented by #[derive(SqlType)] which sets IsNull to is_nullable::NotNull

Associated Types

Is this type nullable?

This type should always be one of the structs in the ’is_nullable` module. See the documentation of those structs for more details.

Implementations on Foreign Types