It appears to be based on a sub-miniature microswitch with a short lever arm operating its actuator. As the actuator is protected from the friction and wear of the passing filament, and the switch wont be directly breaking significant current or voltage, the microswitch's service life is likely to be good.
However if mounted close to the extruder, as sub-miniature microswitches are rarely hermetically sealed, you may get a buidup of out-gassed plasticizer from the melted filament on its contacts, so if the controller doesn't provide sufficient wetting current for the switch, its likely to develop problems if the printer is either used very infrequently or is heavily used. Reliability will also be impacted if the switch wiring is repeatedly flexed.
As the original poster (O.P.) in a topic, you have the ability to move it to another subforum, e.g 3D printing, as Beanflying suggested. See
https://www.eevblog.com/forum/blog/what_s-this-move-topic-icon-all-about/