View Source AvroEx.Term (AvroEx v1.2.0)

An Ecto type for Avro terms

Link to this section Summary

Functions

Callback implementation for Ecto.Type.cast/1.

Callback implementation for Ecto.Type.dump/1.

Callback implementation for Ecto.Type.embed_as/1.

Callback implementation for Ecto.Type.equal?/2.

Callback implementation for Ecto.Type.load/1.

Callback implementation for Ecto.Type.type/0.

Link to this section Functions

Specs

cast(any()) :: {:ok, any()}

Callback implementation for Ecto.Type.cast/1.

Specs

dump(any()) :: {:ok, any()}

Callback implementation for Ecto.Type.dump/1.

Callback implementation for Ecto.Type.embed_as/1.

Callback implementation for Ecto.Type.equal?/2.

Specs

load(any()) :: {:ok, any()}

Callback implementation for Ecto.Type.load/1.

Specs

type() :: :term

Callback implementation for Ecto.Type.type/0.