The Mi 10 is a mid-range smartphone by Xiaomi released February 2020. It has a 6.67" AMOLED display, a 108 MP main camera, an in-display fingerprint sensor, a 4780 mAh battery, and runs on a Qualcomm Snapdragon 865.
You most likely need the port replaced on the device as it appears that it is damaged based on your description of the issue. You can try a different cable first to see if the cable you are using is what is damaged.