Displaying structs in the edtior

I can’t see how that would even compile.
Anyway, you can only use specific primitive types (bool, uint8, int32, float) and unreal types with UPROPERTY. Replace std::string with FString and you’re good to go.