Macros§
- human_
readable_ delegate - Delegate
SerializeAs
andDeserializeAs
to another instance. - human_
readable_ str - Create
SerializeAs
andDeserializeAs
instances forIsHumanReadable
for the given type assuming it implementsToString
andFromStr
.
Structs§
- IsHuman
Readable - Serializer which can be used together with the
serde_with
crate to annotate fields that we want to appear as strings in human readable formats like JSON, and leave as their default serialization formats otherwise (ie. bytes, which would appear as array of numbers in JSON).