View Source Estructura.Config (estructura v1.4.2)
The configuration of the Estructura
that is built from the parameters,
passed as a second argument in a call to use Estructura
.
One normally does not need to meddle with this module.
Summary
Types
The generator to be passed to use Estructura
should be given in one of these forms
The structure key
The configuration of Estructura
The structure value
Types
The generator to be passed to use Estructura
should be given in one of these forms
@type key() :: atom()
The structure key
@type t() :: %Estructura.Config{ access: boolean(), coercion: false | true | [key()], validation: false | true | [key()], calculated: [{key(), binary()}], colleactable: false | key(), enumerable: boolean(), generator: [{key(), generator()}] }
The configuration of Estructura
@type value() :: any()
The structure value