Replies: 2 comments 1 reply
-
ping @pelletier |
Beta Was this translation helpful? Give feedback.
0 replies
-
Since the inline tag can only be applied to struct fields, either the keys need to be known at compile time, or a struct type needs to be generated dynamically. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create a configuration file like cargo.toml.
I want to output the following. But I don't know how to use inline tag.
The key part is indefinite. The value part can be a string representing the version or a structure.
I want only the value part to be inline.
I executed the following code, but it does not work.
Output:
Where should I put inline? Is this module feasible?
Beta Was this translation helpful? Give feedback.
All reactions