pub trait AsColumnType {
// Required method
fn as_column_type() -> ColumnType;
}
Expand description
Types that implement this trait can be stored in an SQL column with the specified ColumnType
Required Methods§
Sourcefn as_column_type() -> ColumnType
fn as_column_type() -> ColumnType
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", so this trait is not object safe.