JViewer.Types behaviour (JViewer v0.1.2) View Source

JViewer.Types behaviour.

Defines a single callback apply_schema.

First argument of apply_schema must be a struct (schema or part of a schema) of a module that implements given behaviour. Second argumet is data schema applying to.

Link to this section Summary

Link to this section Callbacks

Link to this callback

apply_schema(struct, any)

View Source

Specs

apply_schema(struct(), any()) :: any()