Trait cqrs_eventsourcing::DomainEvent[][src]

pub trait DomainEvent<A: Aggregate>: Serialize + DeserializeOwned + Clone + PartialEq + Debug + Sync + Send {
    fn apply(self, aggregate: &mut A);
fn name() -> &'static str; }

Required methods

fn apply(self, aggregate: &mut A)[src]

fn name() -> &'static str[src]

Loading content...

Implementors

Loading content...