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

Implement TryFrom<RpcValue> for container types #3

Merged

Conversation

j4r0u53k
Copy link
Contributor

@j4r0u53k j4r0u53k commented Jul 4, 2024

Provides convenient transformation of a RpcValue of type List, Map and IMap to Vec<T>, BTreeMap<String, T> and BTreeMap<i32, T> respectively for any T that also implements TryFrom<RpcValue>. Implemented also for &Rpcvalue.

Version bumped to 3.0.2

@j4r0u53k j4r0u53k force-pushed the try-from-rpcvalue-containers branch 5 times, most recently from d3b9f8f to eb4fa70 Compare July 4, 2024 10:22
Provides convenient transformation of a `RpcValue` of type
`List`, `Map` and `IMap` to `Vec<T>`, `BTreeMap<String, T>`
and `BTreeMap<i32, T>` respectively for any `T` that also implements
`TryFrom<RpcValue>`. Implemented also for `&RpcValue`.

Version bumped to 3.0.2
@j4r0u53k j4r0u53k force-pushed the try-from-rpcvalue-containers branch from eb4fa70 to 2fac487 Compare July 4, 2024 10:31
@fvacek fvacek merged commit a01c83c into silicon-heaven:master Jul 4, 2024
1 check passed
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.

2 participants