tools.structure: added getStruct