Skip to main content

event

Function event 

pub fn event(event_type: &str) -> Event
Expand description

Builds an event of event_type with no tags.

ยงPanics

Panics if event_type is not a valid EventType. Test-only helper.