The way in which the workpiece is connected to the rivet is called "riveting."
A rivet is a mechanical fastener. After riveting, the rivet or workpiece must be broken to separate the workpiece. This is different from fasteners such as nails and screws. It's a common process to fastsen the sheet metal.