I needed a solution to secure Raspberry Pi USB power cable to the DIN rail in my truck. I am powering RPi4 from the truck's 24V leisure battery trough the USB C port to have additional protection which you don't have if you power it trough GPIO header, and as vehicles have some vibration which can lead to USB failure, I needed to secure it with this simple solution.
USB C cable: https://www.amazon.de/-/en/dp/B0BRMF3HD6?ref=ppx_yo2ov_dt_b_product_details&th=1
DC-DC Step Down Power Supply: https://www.amazon.de/-/en/dp/B071ZRXKJY?psc=1&ref=ppx_yo2ov_dt_b_product_details
The author remixed this model.
PlasticXYZ DIN rail clip model is used to mount the USB cable holder to the DIN rail.