From the results, it might be reasonable to infer that having been infected with CV19 does confer some immunity.
In my case the, illness was very mild indeed causing me just to cough for a few days and of course to take lateral flow tests which were +VE for only 4 days. After 5 days I was asymptomatic and lateral flows were -VE.
According to the protocol in force here in Luxembourg, I should have confirmed my +VE status with a formal PCR test at a testing station BUT as I would have needed to get on a bus to get to a testing station, I thought that was a pretty damned stupid idea!
I am fully vaxxed and at the time of my infection I had had 2 x AZ and 1 x Moderna and was due a 2nd dose of Moderna at the time of my infection but had to cancel the appointment due the infection.