Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Implement into_model #9

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Implement into_model #9

merged 2 commits into from
Jun 20, 2024

Conversation

tcharding
Copy link
Member

Make the usage more ergonomic by implementing into_model on each json type and also add some helper accessor functions.

@tcharding tcharding force-pushed the 06-17-features branch 2 times, most recently from 4aff188 to bf50047 Compare June 20, 2024 17:41
Add a convenience functions to the `GenerateToAddress` model type to get
the number of blocks generated.
For all `json` types implement an inherent `into_model` function and
remove the `TryInto` implementations. Done to improve ergonomics.

Patch includes a bunch of other cleanups and improvements on the way.
@tcharding tcharding merged commit 70f360e into master Jun 20, 2024
25 checks passed
@tcharding tcharding deleted the 06-17-features branch June 20, 2024 17:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant