Trait AbstractColumnType

Source
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 CoercibleColumnType.

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 ColumnType

Implementors§