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 ColumnType and Option<ColumnType>.

Required Associated Types§

Required Methods§

source

fn scalar_type(self) -> Self::AbstractScalarType

Converts the column type-like object into its inner scalar type-like object.

Implementations on Foreign Types§

source§

impl AbstractColumnType for Option<ColumnType>

source§

impl AbstractColumnType for ColumnType

Implementors§