What is the use of this capitalized noun clause:

THAT I WAS IN A HURRY was no excuse for my rudeness

Subject

Subject complement

Direct object