I have some questions that about custom data structure in ink!.
https://paritytech.github.io/ink-docs/faq#what-are-the-scaleencode-and-scaledecode-traits. I already implemented some features with pallet and using the Encode, Decode trait is straight forward to me.
However, there is also a section using some advance storage feature of ink!. https://paritytech.github.io/ink-docs/datastructures/custom-datastructure
I’m kinda confused that which approach to use?