The rivets held the pockets to the clothing. As miners were using them to carry nuggets, tools, and other items that were too heavy for just a seam, as the seams would rip under too much weight.