[][src]Trait eventmill::aggregate::InitializeAggregate

pub trait InitializeAggregate {
    type State: WithAggregateId;
    fn initialize(aggregate_id: AggregateIdOf<Self::State>) -> Self::State;
}

Associated Types

Loading content...

Required methods

fn initialize(aggregate_id: AggregateIdOf<Self::State>) -> Self::State

Loading content...

Implementors

impl<S> InitializeAggregate for VersionedAggregate<S> where
    S: WithAggregateId + InitializeAggregate<State = S>, 
[src]

type State = Self

Loading content...