pub struct AggregateRef {
pub kind: String,
pub id: Id128,
}Expand description
A reference to the logical aggregate that an event belongs to.
Used to thread related events (e.g. proposal lifecycle events) into a
single auditable chain identified by kind and id.
Fields§
§kind: StringThe aggregate type string (e.g. "proposal").
id: Id128The aggregate instance identifier.
Trait Implementations§
Source§impl Clone for AggregateRef
impl Clone for AggregateRef
Source§impl Debug for AggregateRef
impl Debug for AggregateRef
impl Eq for AggregateRef
Source§impl PartialEq for AggregateRef
impl PartialEq for AggregateRef
impl StructuralPartialEq for AggregateRef
Auto Trait Implementations§
impl Forget for AggregateRef
impl Freeze for AggregateRef
impl Move for AggregateRef
impl RefUnwindSafe for AggregateRef
impl Send for AggregateRefwhere
RawVecInner: Send,
impl Sync for AggregateRefwhere
RawVecInner: Sync,
impl Unpin for AggregateRef
impl UnsafeUnpin for AggregateRef
impl UnwindSafe for AggregateRefwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more