Macros§
- human_
readable_ delegate - Delegate
SerializeAsandDeserializeAsto another instance. - human_
readable_ str - Create
SerializeAsandDeserializeAsinstances forIsHumanReadablefor the given type assuming it implementsToStringandFromStr.
Structs§
- IsHuman
Readable - Serializer which can be used together with the
serde_withcrate 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).