AshJason.Protocol protocol (ash_jason v3.1.0)

View Source

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

Summary

Types

t()

All the types that implement this protocol.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

get_fields(struct)

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