# `AshToonEx.Protocol`
[🔗](https://github.com/ohhi-vn/ash_toon_ex/blob/v0.3.0/lib/ash_toon_ex/protocol.ex#L5)

A protocol that provides a way to get fields from a record using `AshToonEx`'s logic.

# `t`

```elixir
@type t() :: term()
```

All the types that implement this protocol.

# `get_fields`

```elixir
@spec get_fields(t()) :: [{t(), t()}]
```

---

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