solders_macros

Attribute Macro common_methods

source
#[common_methods]
Expand description

Add __bytes__, __str__, __repr__ and __reduce__, to_json and from_json using the CommonMethods trait.

Also add from_bytes if not already defined.