Fastening by means of rivet or eyelet