Available on crate feature
codegen only.Expand description
Code generation utilities.
Structs§
- Settings
- Code generation settings. Instantiate with
Default::defaultand then change field values if necessary.
Functions§
- gen_
definitions - Generates
constimplementors ofIsFieldDefinition. - gen_
enum_ of_ allowed_ values - Generates the Rust code for an
enumthat has variants that map 1:1 the available values forfield. - gen_
field_ definition - Generates the Rust code for a FIX field definition.
- generated_
code_ notice - Creates a
Stringthat contains a multiline Rust “Doc” comment explaining that the subsequent code was automatically generated.