Derive Macro DecodeAsType

Source
#[derive(DecodeAsType)]
{
    // Attributes available to this derive:
    #[decode_as_type]
    #[codec]
}