You did very well. The vets wouldn’t have done it better and taking her to the vet would have made her even more scared, so I think you dealt with this very well. She took her treat after the incident, and that means she’s not crazy traumatized. She also ate hay and pellets later and she asked for pets from you – a traumatized bunny or a pi##ed off bunny would absolutely not do that.
Sometimes we have to put our buns through procedures that are not at all nice for them. It can be things like give medications, tend to wounds, force feed Critical Care etc. The bun is as a rule not at all happy while it’s going on. You can get bit or boxed and growled at, because the bun goes into total defense-mode. But when the ordeal is over, the bun tends to have become more bonded with its human, curiously enough. We’ve had many stories here about that happening, I’ve myself had that experience with my bunny Yohio.
If a bun nose-bops your foot it can mean “pet me” or “give me a treat” or, sometimes, “you’re in my way, move”. If you don’t obey, the bun can proceed to nipping to get its point across.
Just to be sure, keep an eye on appetite and poop for the next few days. Stress can cause tummy trouble.