What is the function of this modifying Phrase?


As a student, I have had difficult assignments during my studies.

I believe it is an appositive because "I" renames "Student".