pub struct RolloutEvents {
pub rollout_id: RolloutId,
pub events: Vec<RolloutEventEntry>,
}Expand description
Chronological event-log stream for a single rollout — every row in
event_log WHERE rollout_id = ? ORDER BY seq ASC. Engineer-facing
replay surface (RFC-0005 §10.5 + Plan 04 §“Event log schema”):
reproduces the per-host state evolution by replaying these entries
through nixfleet_state_machine::step.
payload is parsed JSON (not the escaped string the DB stores). The
shape inside payload is determined by kind:
kind = "agent_event"→ anOutboundAgentEventvariant payloadkind = "plan_action"→ aPlanActionvariantkind = "effect"→ anEffectvariantkind = "gate_decision"→{ host, rollout, gate, reason }kind = "verify_outcome"/"manifest_poll"→ producer-side shapes
Fields§
§rollout_id: RolloutId§events: Vec<RolloutEventEntry>Trait Implementations§
Source§impl Clone for RolloutEvents
impl Clone for RolloutEvents
Source§fn clone(&self) -> RolloutEvents
fn clone(&self) -> RolloutEvents
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 RolloutEvents
impl Debug for RolloutEvents
Source§impl<'de> Deserialize<'de> for RolloutEvents
impl<'de> Deserialize<'de> for RolloutEvents
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 RolloutEvents
impl PartialEq for RolloutEvents
Source§impl Serialize for RolloutEvents
impl Serialize for RolloutEvents
impl StructuralPartialEq for RolloutEvents
Auto Trait Implementations§
impl Freeze for RolloutEvents
impl RefUnwindSafe for RolloutEvents
impl Send for RolloutEvents
impl Sync for RolloutEvents
impl Unpin for RolloutEvents
impl UnwindSafe for RolloutEvents
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