Tyyppi.Struct.defstruct
You're seeing just the macro
defstruct
, go back to Tyyppi.Struct module for more information.
Declares a typed struct. The accepted argument is the keyword of
{field_name, type}
tuples. See Tyyppi.Example.Struct
for an example.