#[event]
Defines an event struct for use with the event queue.
Generates the Event trait implementation and derives Clone.
Event
Clone
#[event(key = "mail.send.failed")] struct MailFailedEvent { to: String, error: String, }