pub struct StoredEvent {
pub sequence: u64,
pub execution_id: ExecutionId,
pub tenant_id: TenantId,
pub event: ExecutionEventData,
pub timestamp: DateTime<Utc>,
}Expand description
A stored event with metadata
Fields§
§sequence: u64Unique sequence number within the execution
execution_id: ExecutionIdThe execution this event belongs to
tenant_id: TenantIdTenant for multi-tenancy
event: ExecutionEventDataThe event payload
timestamp: DateTime<Utc>When this event occurred
Trait Implementations§
Source§impl Clone for StoredEvent
impl Clone for StoredEvent
Source§fn clone(&self) -> StoredEvent
fn clone(&self) -> StoredEvent
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 StoredEvent
impl Debug for StoredEvent
Source§impl<'de> Deserialize<'de> for StoredEvent
impl<'de> Deserialize<'de> for StoredEvent
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 StoredEvent
impl RefUnwindSafe for StoredEvent
impl Send for StoredEvent
impl Sync for StoredEvent
impl Unpin for StoredEvent
impl UnsafeUnpin for StoredEvent
impl UnwindSafe for StoredEvent
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