Just before the takeoff, a crew member spotted a rat inside the cabin, prompting swift action from both airline and airport staff.