# `Plushie.Type.Composite.Enum`
[🔗](https://github.com/plushie-ui/plushie-elixir/blob/v0.7.2/lib/plushie/type/composite/enum.ex#L1)

Composite type for a fixed set of values.

Cast accepts exact value matches only. Decode also coerces
strings to matching atoms (for wire data compatibility).

    field :mode, {:enum, [:read, :write]}

---

*Consult [api-reference.md](api-reference.md) for complete listing*
