pub trait SqlTyped {
const SQL_TYPE: &'static str;
}Expand description
Associates a Rust type with its SQL type name so a typed NULL can be
declared without a value (see null).
SQL_TYPE must match what ToSql::sql_type returns for a value of the
same type.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".