pub fn gen_definitions(
fix_dictionary: &Dictionary,
settings: &Settings,
) -> String
Expand description
Generates const
implementors of IsFieldDefinition
.
The generated module will contain:
- A generated code notice (generated_code_notice).
enum
definitions for FIX field types.- A constant implementor of
IsFieldDefinition
for each FIX field.
The Rust code will be free of any leading and trailing whitespace. An effort is made to provide good formatting, but users shouldn’t rely on it and assume that formatting might be bad.