pub struct CorrelationEntry {
pub tenant_id: TenantId,
pub tag: String,
pub process_id: ProcessId,
pub identity: ProcessIdentity,
}Expand description
One correlation-index entry: “this business key resolves to this process”.
Written in the same batch as the events that created the process — see
AtomicAppend::append_with_outbox_deadlines_and_correlations.
Fields§
§tenant_id: TenantIdTenant the key is scoped to.
tag: StringThe business key — a MaLo, MeLo, Vorgangs- or Belegnummer.
process_id: ProcessIdProcess the key resolves to.
identity: ProcessIdentityFull identity, so a lookup can rebuild a Process without a second read.
Trait Implementations§
Source§impl Clone for CorrelationEntry
impl Clone for CorrelationEntry
Source§fn clone(&self) -> CorrelationEntry
fn clone(&self) -> CorrelationEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CorrelationEntry
impl RefUnwindSafe for CorrelationEntry
impl Send for CorrelationEntry
impl Sync for CorrelationEntry
impl Unpin for CorrelationEntry
impl UnsafeUnpin for CorrelationEntry
impl UnwindSafe for CorrelationEntry
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