KiwiCodec.RustlerGenerator.Full (kiwi_codec v0.7.0)

Copy Markdown View Source

Generates full decoders: a struct or message decodes as its generated Elixir struct, an enum as its variant's atom; see KiwiCodec.RustlerGenerator.Full.Helpers.

Summary

Functions

The full decoders of definitions, with the statics caching their atoms.

Functions

fragments(definitions, module_prefix, definition_map)

@spec fragments([KiwiCodec.Schema.definition()], String.t(), map()) :: [
  RustQ.Rust.Fragment.t()
]

The full decoders of definitions, with the statics caching their atoms.