Trait EventType
rust_transit
pub trait EventType { fn code() -> String; }
The type of event
fn code() -> String
The event code to use
impl EventType for StringEvent