Well, every class of vessel that carries commercial freight is a cargo vessel. As I stated above most fires do not originate in the "cargo hold" and I probably should have qualified that my statement is specific to RO/ROs. RO/RO cargo holds are wide open decks - think underground parking garage. While some vessels back in the early development of RO/ROs could be called "roll on roll off general cargo" vessels which could carry anything that could be rolled abroad, most modern builds are much more specialized,
Car carriers are an example. Containers cannot be carried on a car carrier because they are not built with the deck height to accommodate them.
Keep in mind that the fire did not necessarily have to start in a battery - a fire started elsewhere that spread into the deck with the electric cars would almost certainly result in battery fires that made controlling them more difficult and ultimately led to the loss of the vessel. This accident makes me question if the regulators have caught up with the differences in firefighting techniques when dealing with battery fires.
Container fires are a different issue - most often made more difficult to fight because shippers load them with hazardous materials and don't state so on the manifest. In the early 80's the company I worked for had a fire at sea enroute to Alaska in a military container mounted on a ro/ro chassis. The manifest stated the contents were household goods - it was later revealed that it was loaded with chemicals. The fire proved extremely difficult causing damage that required taking the ship out of service. If anyone is interested see the link.
[
www.nortonrosefulbright.com]