pub trait EventRepository {
// Required method
fn insert_event(&self, event: &DbEventRecord) -> Result<()>;
}Expand description
Event insertion.
Required Methods§
Sourcefn insert_event(&self, event: &DbEventRecord) -> Result<()>
fn insert_event(&self, event: &DbEventRecord) -> Result<()>
Inserts an event record.