He did infringe on her rights when he asked her to extinguish her cigarette. there was no reasonable risk that the officer or anyone elses immediate safety would be compromised if she didn't put out her cigarette nor would her failure to comply hinder any investigation. so it doesn't qualify as a "lawful order", as such she had every right to question and disobey that request.
it only escalated to him asking her to exit the car because she refused to comply with a request that she had no legal obligation to obey. he told her while she was still in the car that she was under arrest.....even if legally he was not required to say why at the time, what was the offence at that time?
because from what i read, her only charge was "assaulting a public servant"....so she was under arrest in the car for something she would do in the future?
at the end of the day anyone with 1/2 a brain can see that the officer acted ridiculously. he should have never asked her to put her cigarette out in the first place and once she refused, he should have accepted it was her right to do so, given her the ticket and they could have both been on their way.