pub trait Event {
// Required methods
fn id(&self) -> Cow<'_, str>;
fn timestamp(&self) -> &DateTime<Utc>;
fn event_type(&self) -> &str;
fn tags(&self) -> HashSet<String>;
}
pub trait Event {
// Required methods
fn id(&self) -> Cow<'_, str>;
fn timestamp(&self) -> &DateTime<Utc>;
fn event_type(&self) -> &str;
fn tags(&self) -> HashSet<String>;
}