pub trait AbstractColumnType {
type AbstractScalarType;
// Required method
fn scalar_type(self) -> Self::AbstractScalarType;
}Expand description
A column type-like object whose underlying scalar type-like object can be ascertained.
Abstracts over SqlColumnType and CoercibleColumnType.
Required Associated Types§
Required Methods§
Sourcefn scalar_type(self) -> Self::AbstractScalarType
fn scalar_type(self) -> Self::AbstractScalarType
Converts the column type-like object into its inner scalar type-like object.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".