View Source AvroEx.Schema.Enum (AvroEx v1.2.0)

Link to this section Summary

Link to this section Types

Specs

full_name() :: String.t()

Specs

t() :: %AvroEx.Schema.Enum{
  aliases: [AvroEx.Schema.alias()],
  doc: AvroEx.Schema.doc(),
  metadata: %{required(String.t()) => String.t()},
  name: AvroEx.Schema.name(),
  namespace: AvroEx.Schema.namespace(),
  qualified_names: term(),
  symbols: [String.t()]
}

Link to this section Functions

Specs

cast(map()) :: {:error, any()} | {:ok, map()}
Link to this function

changeset(struct, params)

View Source

Specs

changeset(
  t(),
  :invalid
  | %{optional(:__struct__) => none(), optional(atom() | binary()) => any()}
) :: Ecto.Changeset.t()
Link to this function

match?(enum, context, data)

View Source

Specs

match?(any(), any(), any()) :: boolean()