pub struct RuntimeEventEnvelope {
pub id: RuntimeEventId,
pub timestamp: DateTime<Utc>,
pub runtime_id: LogicalRuntimeId,
pub event: RuntimeEvent,
pub causation_id: Option<CausationId>,
pub correlation_id: Option<CorrelationId>,
}Expand description
Envelope for all runtime events.
Fields§
§id: RuntimeEventIdUnique event ID.
timestamp: DateTime<Utc>When the event occurred.
runtime_id: LogicalRuntimeIdWhich runtime emitted this event.
event: RuntimeEventThe event payload.
causation_id: Option<CausationId>Causation chain.
correlation_id: Option<CorrelationId>Correlation for cross-boundary tracing.
Trait Implementations§
Source§impl Clone for RuntimeEventEnvelope
impl Clone for RuntimeEventEnvelope
Source§fn clone(&self) -> RuntimeEventEnvelope
fn clone(&self) -> RuntimeEventEnvelope
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeEventEnvelope
impl Debug for RuntimeEventEnvelope
Source§impl<'de> Deserialize<'de> for RuntimeEventEnvelope
impl<'de> Deserialize<'de> for RuntimeEventEnvelope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RuntimeEventEnvelope
impl RefUnwindSafe for RuntimeEventEnvelope
impl Send for RuntimeEventEnvelope
impl Sync for RuntimeEventEnvelope
impl Unpin for RuntimeEventEnvelope
impl UnsafeUnpin for RuntimeEventEnvelope
impl UnwindSafe for RuntimeEventEnvelope
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