Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Stamped" trait to code generation #11

Open
Carter12s opened this issue Jun 28, 2022 · 0 comments
Open

Add "Stamped" trait to code generation #11

Carter12s opened this issue Jun 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Carter12s
Copy link
Collaborator

Goal is to automatically detect that a given type contains a field Header header and if so implement a trait named Stamped for it that provides access to the header.

This is intended to allow things like auto incrementing the seq number during each publish by detecting Header... TODO look into rust type system more for how best to do this.

@Carter12s Carter12s added the enhancement New feature or request label Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant