Skip to main content

tagged_event

Function tagged_event 

pub fn tagged_event(event_type: &str, tags: &[(&str, &str)]) -> Event
Expand description

Builds an event of event_type carrying key:value tags.

ยงPanics

Panics if event_type or any tag pair is invalid. Test-only helper.