Is there a way to handle custom Default trait definition for some of the Defined structs, e.g.:
{
"name": "MyStruct",
"type": {
"kind": "struct",
"fields": [
{
"name": "authority",
"type": "publicKey"
},
{
"name": "reservedSpace",
"type": {
"array": ["u128", 256]
}
}
]
}
}
atm the explicit sizes (0-32) in the standard implementation prevents generation:
the trait 'Default' is not implemented for '[u128; 256]'