[][src]Trait eventmill::aggregate::WithAggregateId

pub trait WithAggregateId {
    type Id: Debug + Clone + PartialEq + Serialize + DeserializeOwned;
    fn aggregate_id(&self) -> &Self::Id;
}

Associated Types

Loading content...

Required methods

fn aggregate_id(&self) -> &Self::Id

Loading content...

Implementors

impl<S> WithAggregateId for VersionedAggregate<S> where
    S: WithAggregateId
[src]

type Id = <S as WithAggregateId>::Id

Loading content...