Possibility of fastening to a pipe both to a metal one due to a magnet, and to a plastic one using a clothespin. It can also be magnetized to any metal surface or hung on a self-tapping screw.
To give a better idea of my experience, I have included some photos with my review.