[][src]Struct krill::commons::eventsourcing::AggregateHistory

pub struct AggregateHistory<A: Aggregate> { /* fields omitted */ }

Methods

impl<A: Aggregate> AggregateHistory<A>[src]

pub fn new(init: A::InitEvent, events: Vec<A::Event>) -> Self[src]

pub fn unpack(self) -> (A::InitEvent, Vec<A::Event>)[src]

Trait Implementations

impl<S: Signer> From<AggregateHistory<CertAuth<S>>> for CertAuthHistory[src]

impl<A: Clone + Aggregate> Clone for AggregateHistory<A> where
    A::InitEvent: Clone,
    A::Event: Clone
[src]

impl<A: Debug + Aggregate> Debug for AggregateHistory<A> where
    A::InitEvent: Debug,
    A::Event: Debug
[src]

impl<A: Aggregate> Display for AggregateHistory<A>[src]

impl<A: Aggregate> Serialize for AggregateHistory<A> where
    A::InitEvent: Serialize
[src]

impl<'de, A: Aggregate> Deserialize<'de> for AggregateHistory<A> where
    A::InitEvent: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<A> Send for AggregateHistory<A> where
    <A as Aggregate>::Event: Send,
    <A as Aggregate>::InitEvent: Send

impl<A> Sync for AggregateHistory<A> where
    <A as Aggregate>::Event: Sync,
    <A as Aggregate>::InitEvent: Sync

impl<A> Unpin for AggregateHistory<A> where
    <A as Aggregate>::Event: Unpin,
    <A as Aggregate>::InitEvent: Unpin

impl<A> UnwindSafe for AggregateHistory<A> where
    <A as Aggregate>::Event: UnwindSafe,
    <A as Aggregate>::InitEvent: UnwindSafe

impl<A> RefUnwindSafe for AggregateHistory<A> where
    <A as Aggregate>::Event: RefUnwindSafe,
    <A as Aggregate>::InitEvent: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err