Structs§
- Bytes
- A byte slice that round-trips through both JSON (base64 string) and
msgpack (
bin). - Signature
Visitor - Text
- A string that round-trips through both JSON (string) and msgpack (
binrendered as lossy UTF-8). - U8_
32Visitor - U8_
64Visitor
Constants§
- ZERO_
ADDRESS - The zero address in base32-checksum format (32 bytes of zeros).
Functions§
- decode_
base64 - deserialize_
byte32_ arr - deserialize_
byte32_ arr_ opt - deserialize_
bytes - deserialize_
bytes32 - deserialize_
bytes64 - deserialize_
null_ default - Deserialize a possibly-
nullvalue asT::default(). - deserialize_
opt_ addr_ string - Deserialize an optional address string, treating the zero address as
None. - deserialize_
opt_ lenient_ str - Deserialize an
Option<String>byte-ish field leniently: a string is kept verbatim, a byte buffer is base64-encoded. - deserialize_
vec_ opt_ to_ vec - serialize_
bytes