The accident would likely be covered under the collision insurance, which covers the policyholder's car when it collides with another car or an object (in this case it would be an object since it was a single-vehicle accident.
If you only had liability coverage, the damage would likely not be covered because liability insurance only covers the damage caused to the other person and their car, not you or your car.
This will also be added to your insurance record even though you weren't the one driving because it was your vehicle and your policy.