Derive Macro pallet_contracts_proc_macro::WeightDebug
source · #[derive(WeightDebug)]
Expand description
This derives Debug
for a struct where each field must be of some numeric type.
It interprets each field as its represents some weight and formats it as times so that
it is readable by humans.