Revert "src/structures: add __eq__ functions"

This reverts commit 6fc0a6f476573624884dea88fd73f207bdd9b389.