In order to answer this question one is forced to post NEC code.
312.2 Damp, Wet, or Hazardous (Classified) Locations.
(A) Damp and Wet Locations. In damp or wet locations, surface-type enclosures within the scope of this article shall be placed or equipped so as to prevent moisture or water from entering and accumulating within the cabinet or cutout box, and shall be mounted so there is at least 6-mm (¼-in.) airspace between the enclosure and the wall or other supporting surface. Enclosures installed in wet locations shall be weatherproof. For enclosures in wet locations, raceways or cables entering above the level of uninsulated live parts shall use fittings listed for wet locations.
Exception: Nonmetallic enclosures shall be permitted to be installed without the airspace on a concrete, masonry, tile, or similar surface.
240.32 Damp or Wet Locations.
Enclosures for overcurrent devices in damp or wet locations shall comply with 312.2(A).
404.4 Wet Locations.
A switch or circuit breaker in a wet location or outside of a building shall be enclosed in a weatherproof enclosure or cabinet that shall comply with 312.2(A). Switches shall not be installed within wet locations in tub or shower spaces unless installed as part of a listed tub or shower assembly.
408.37 Panelboards in Damp or Wet Locations.
Panelboards in damp or wet locations shall be installed to comply with 312.2(A).
As clearly stated if it has overcurrent devices or switches and is in a wet location it must comply with 312.2. The installation in the pictures of the original post does not comply with 312.2.
To carry this a little deeper into discussion it could be pointed out that on these type of installations one will find more than one white wire under one screw and lots of times there will not be GFCI protection for receptacles located outside, in baths and kitchens.
Although these doubled white wires and lack of GFCI protection will be called out although at the time of installation they were not required but the panel and meter enclosure being install against code is mostly overlooked.
From my first day on this forum I have listened to some who make thier inspections based on the UL Srandards outlined for the manufacturing process and some that make their inspections from the UL listing and labeling. I have even listened to some who will argue that by simply changing an electrical motor will make an ornamental pool into a Permanently Installed Swimming pool.
Most of these calls could be based totally on the opinion of the person doing the inspection. The installation in the picture can not be based on anyone’s opinion as it clearly is a violation of the NEC at least four different times.
Does this answer your question?