This looks like the logic board connector which is now not mounted to the logic board!
So while the connector’s side wall is damaged the rest of the connector is not connected electrically which is really the more important part of the connector. Let’s get a picture of the logic board showing where the connector was so we can see the rest of the damage. Once we get a better idea what we have to work with we can guide you on the best method to fix this.