Transform struct event into safer and more convenient Event.