Brake master cylinder ??? (pics)

i guess what i was after was what is holding the piston in the mc? old drum ones have a metal piece with 2 screws and the disc ones have a snap ring.