Make usable UStruct in details panel

Yep i think i have to decleare this struct inside of UClass but VS throws me compilation error no matter what I do, currently my code looks like this

Have you ever done something like this by yourself?