Module codegen

Source
Available on crate feature codegen only.
Expand description

Code generation utilities.

Structs§

Settings
Code generation settings. Instantiate with Default::default and then change field values if necessary.

Functions§

gen_definitions
Generates const implementors of IsFieldDefinition.
gen_enum_of_allowed_values
Generates the Rust code for an enum that has variants that map 1:1 the available values for field.
gen_field_definition
Generates the Rust code for a FIX field definition.
generated_code_notice
Creates a String that contains a multiline Rust “Doc” comment explaining that the subsequent code was automatically generated.