Skip to content

Implement IssuedOrNative struct#109

Open
kevin-pease wants to merge 3 commits intodevelopfrom
108-fix-asset-types
Open

Implement IssuedOrNative struct#109
kevin-pease wants to merge 3 commits intodevelopfrom
108-fix-asset-types

Conversation

@kevin-pease
Copy link
Contributor

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Fixes #108.

  • Moves the IssuedOrNative struct to request models, making it available throughout the crate;
  • Updates several fields in request structs in 2 endpoints, so that they use this new IssuedOrNative struct;
  • Updates relevant parameter building methods;
  • Adds a few tests to test new parameter buidling;
  • Updates relevant documentation code examples.

Note: One commit in this PR is dedicated to a large set of formatting corrections. This is because of a pre-commit hook running cargo fmt.

🤔 Checklist before submitting

  • All projects build
  • Follows style guide lines
  • Relevant documentation was updated
  • Rebased onto current main

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.

Fix incorrect field types in several request structs

1 participant