Boolean modifier makes a hole without rim in render
The Geometry is there, it is a matter of your materials and lights. The light inside is so strong that you cannot see anything. Hide it and you see the rim.