pub struct EventStarted {
pub result_id: String,
pub request_id: String,
pub exec_id: String,
pub pc_id: String,
pub started_at: DateTime<Utc>,
pub manifest_id: String,
pub version: String,
}Fields§
§result_id: StringAgent-minted UUID, identical to the ExecResult.result_id
that will follow when the script finishes. Backend uses it
as the UPSERT key so events.started and the matching
ExecResult coalesce into a single execution_results row
regardless of arrival order.
request_id: StringNATS reply token for this run. Mirrors
super::ExecResult::request_id. Carried here so the
events projector can populate execution_results.request_id
(NOT NULL in the schema) at insert time without waiting for
the matching ExecResult.
exec_id: StringDeployment / scheduler-fire UUID. Same value as
super::Command::exec_id.
pc_id: StringPC reporting the start.
started_at: DateTime<Utc>Wall-clock instant the agent took just before
tokio::process::Command::spawn(). Same value will end up
on the matching ExecResult.started_at.
manifest_id: StringManifest.id for the running script. Useful for the SPA
Activity table so each running row knows what’s running
without a lookup.
version: StringPinned manifest version. Same field as Command.version.
Trait Implementations§
Source§impl Clone for EventStarted
impl Clone for EventStarted
Source§fn clone(&self) -> EventStarted
fn clone(&self) -> EventStarted
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more