She impressed President Trump by sticking to her guns without antagonizing him.