I want to generate an enum variants from inline_table existed in toml file

i have a toml file in format :
enum_variant_1 ={code = "code_1", action ="action_1"}

i want to generate a an enum variants from it .

I believe the documetation you are looking for is found here:

https://serde.rs/enum-representations.html

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.