How to convert a parent structure to a child structure?

Use the “Cast To structure B” node if you’re using UObjects.

If you’re using USTRUCT, you’re not supposed to use them that way in Unreal Engine. If you really wanted to, you could add a virtual destructor to A and then use dynamic_cast< > in a C++ function exposed to your blueprint. Not sure if this would work when passed back to a blueprint though.