Settings View Source Ecto.Type behaviour (Ecto v3.11.0) Defines functions and the Ecto.Type behaviour for implementing basic custom types. Ecto provides two types of custom types: basic types and parameterized types. Basic types are simple, requiring only four callbacks to be implemented, and are enough for most occasions. Parameterized types can be customized on the field definition and provide a