Documentation for insertRecordFromStruct