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

events: add the accessors for EventPayload #24

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

ssp-rs
Copy link
Collaborator

@ssp-rs ssp-rs commented Aug 9, 2023

Adds accessor functions to retrieve the inner type of new-type enum variants.

Applies the new macro to the EventPayload enum, to allow users to retrieve a reference to the inner type of each variant.

Other minor fixes for code health.

Adds accessor functions to retrieve the inner type of new-type enum
variants.

Applies the new macro to the `EventPayload` enum, to allow users to
retrieve a reference to the inner type of each variant.

Other minor fixes for code health.
@ssp-rs ssp-rs merged commit d7e7011 into main Aug 9, 2023
18 checks passed
@ssp-rs ssp-rs deleted the feature/destructure-payload branch August 9, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant