Never had to do anything like that. Actually the most I ever learnt about sentence structure in High School was in grade 9 then in grade 11. In grade 9 we were taught about the subject, predicate and various things though most of them we already knew. Then in grade 11 we were formally taught independent and subordinate clauses and the various ways to combine them, plus some more proper punctuation (mostly semi-colons and commas).

I really started to learn sentence structure when I took Ancient Greek class in my first year of university. I started to actually know the different between direct and indirect objects especially since Attic Greek has declensions. Declensions = nightmare imho.