pub struct EventIdentity {
pub workflow_id: WorkflowId,
pub run_id: RunId,
pub activity_id: ActivityId,
pub attempt: u32,
}Expand description
The (workflow, run, activity, attempt) identity stamped onto every demuxed event.
The plain-stdout agent carries no agent sub-identity, so ActivityEvent::agent_id is always
the nil UUID and ActivityEvent::agent_role is a fixed neutral label — an honest reflection
of a single-agent CLI with no multi-agent attribution to recover.
Fields§
§workflow_id: WorkflowIdThe workflow this run belongs to.
run_id: RunIdThe concrete run of that workflow this attempt belongs to — stamped from the run spec, never synthesised here. It is the axis that keeps two generations of a continue-as-new chain from writing one fused transcript.
activity_id: ActivityIdThe activity within the workflow.
attempt: u32The attempt number of the run.
Trait Implementations§
Source§impl Clone for EventIdentity
impl Clone for EventIdentity
Source§fn clone(&self) -> EventIdentity
fn clone(&self) -> EventIdentity
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 EventIdentity
impl RefUnwindSafe for EventIdentity
impl Send for EventIdentity
impl Sync for EventIdentity
impl Unpin for EventIdentity
impl UnsafeUnpin for EventIdentity
impl UnwindSafe for EventIdentity
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