pub struct DurableEvent {
pub id: EventId,
pub sequence: u64,
pub context: InvocationContext,
pub event: AgentEvent,
}Expand description
Sequenced event persisted as part of a thread transition.
Fields§
§id: EventIdGlobally unique event identifier used for deduplication.
sequence: u64Monotonic sequence within a thread.
context: InvocationContextFrozen routing, ownership, and run identity for this event.
event: AgentEventEvent payload.
Trait Implementations§
Source§impl Clone for DurableEvent
impl Clone for DurableEvent
Source§fn clone(&self) -> DurableEvent
fn clone(&self) -> DurableEvent
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 moreSource§impl Debug for DurableEvent
impl Debug for DurableEvent
Source§impl<'de> Deserialize<'de> for DurableEvent
impl<'de> Deserialize<'de> for DurableEvent
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
Source§impl PartialEq for DurableEvent
impl PartialEq for DurableEvent
Source§impl Serialize for DurableEvent
impl Serialize for DurableEvent
impl StructuralPartialEq for DurableEvent
Auto Trait Implementations§
impl Freeze for DurableEvent
impl RefUnwindSafe for DurableEvent
impl Send for DurableEvent
impl Sync for DurableEvent
impl Unpin for DurableEvent
impl UnsafeUnpin for DurableEvent
impl UnwindSafe for DurableEvent
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