pub trait FieldType: ToSql + FromSql {
type RefType: ToSql + ?Sized;
const SQLTYPE: SqlType;
}
Expand description
Type suitable for being a database column.
pub trait FieldType: ToSql + FromSql {
type RefType: ToSql + ?Sized;
const SQLTYPE: SqlType;
}
Type suitable for being a database column.