pub trait AsColumnType {
// Required method
fn as_column_type() -> SqlColumnType;
}Expand description
Types that implement this trait can be stored in an SQL column with the specified SqlColumnType
Required Methods§
Sourcefn as_column_type() -> SqlColumnType
fn as_column_type() -> SqlColumnType
The SQL column type of this Rust type
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".