A protocol that provides a way to get fields from a record using AshToonEx's logic.
AshToonEx
All the types that implement this protocol.
@type t() :: term()
@spec get_fields(t()) :: [{t(), t()}]