Trait AggregateEvent
cqrs_core
pub trait AggregateEvent<A: Aggregate>: Event { fn apply_to(self, aggregate: &mut A); }
An event that can be applied to an aggregate.
fn apply_to(self, aggregate: &mut A)
Consumes the event, applying its effects to the aggregate.