Trait event_driven_library::outbox::OutBox
source · pub trait OutBox: Send + Sync + 'static {
// Required methods
fn convert_event(&self) -> Box<dyn Message>;
fn tag_processed(&mut self);
fn id(&self) -> Uuid;
fn aggregate_id(&self) -> &str;
fn topic(&self) -> &str;
fn state(&self) -> &str;
fn processed(&self) -> bool;
fn create_dt(&self) -> DateTime<Utc>;
}