Bioinspired polymer functionalized with a diiron carbonyl model complex and its assembly onto the surface of a gold electrode via “click” chemistry.