I did some deep diving and I've managed to answer my own question. This code
gives me access to the type declaration:
echo "Type declartaion is: ", struct.getTypeImpl[1].getTypeImpl.repr
RunThough I couldn't tell you _[why](https://forum.nim-lang.org/postActivity.xml#why) it needs to be like that.
