We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cosmwasm_std::Binary
https://docs.rs/cosmwasm-std/2.0.4/cosmwasm_std/struct.Binary.html
The cosmwasm_std::Binary type conveniently handles base64 serde functionality out of the box.
Consider using this in favour of alias Bytes wrapping Vec<u8> and serde annotations.
Bytes
Vec<u8>
for example:
- #[schemars(with = "String")] - #[serde(with = "Base64", default)] - pub client_message: Bytes, + pub client_message: cosmwasm_std::Binary
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://docs.rs/cosmwasm-std/2.0.4/cosmwasm_std/struct.Binary.html
The
cosmwasm_std::Binary
type conveniently handles base64 serde functionality out of the box.Consider using this in favour of alias
Bytes
wrappingVec<u8>
and serde annotations.for example:
The text was updated successfully, but these errors were encountered: