Ecto.Type.load
You're seeing just the callback
load
, go back to Ecto.Type module for more information.
Specs
Loads the given term into a custom type.
This callback is called when loading data from the database and
receives an Ecto native type. It can return any type, as long as
the dump/1
function is able to convert the returned value back
into an Ecto native type.