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

Link to this section Summary

Link to this section Types

Specs

t() :: %AvroEx.Schema.Map{
  metadata: %{required(String.t()) => String.t()},
  values: AvroEx.Schema.schema_types()
}

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?(map, context, data)

View Source

Specs

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