[−][src]Struct krill::commons::eventsourcing::AggregateHistory
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]
fn from(history: AggregateHistory<CertAuth<S>>) -> Self
[src]
impl<A: Clone + Aggregate> Clone for AggregateHistory<A> where
A::InitEvent: Clone,
A::Event: Clone,
[src]
A::InitEvent: Clone,
A::Event: Clone,
fn clone(&self) -> AggregateHistory<A>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A: Debug + Aggregate> Debug for AggregateHistory<A> where
A::InitEvent: Debug,
A::Event: Debug,
[src]
A::InitEvent: Debug,
A::Event: Debug,
impl<A: Aggregate> Display for AggregateHistory<A>
[src]
impl<A: Aggregate> Serialize for AggregateHistory<A> where
A::InitEvent: Serialize,
[src]
A::InitEvent: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de, A: Aggregate> Deserialize<'de> for AggregateHistory<A> where
A::InitEvent: Deserialize<'de>,
[src]
A::InitEvent: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl<A> Send for AggregateHistory<A> where
<A as Aggregate>::Event: Send,
<A as Aggregate>::InitEvent: Send,
<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,
<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,
<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,
<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,
<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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,