View Source API Reference estructura v1.1.0

Modules

Estructura is a set of extensions for Elixir structures, such as Access implementation, Enumerable and Collectable implementations, validations and test data generation via StreamData.

The configuration of the Estructura that is built from the parameters, passed as a second argument in a call to use Estructura.

Full Example

The field stub allowing lazy instantiation of Estructura fields.

The implementation of lazy map implementing lazy Access for its keys.

The nested struct with helpers to easily describe it and produce validation, coercion, and generation helpers.

The implementation of Estructura ready to work with tree AST-like structure

Nested example. The source code of the file follows.