Ecto.Type.type

You're seeing just the callback type, go back to Ecto.Type module for more information.

Specs

type() :: t()

Returns the underlying schema type for the custom type.

For example, if you want to provide your own date structures, the type function should return :date.

Note this function is not required to return Ecto primitive types, the type is only required to be known by the adapter.