pub struct RolloutRecord {
pub rollout_id: RolloutId,
pub channel: ChannelId,
pub target_ref: ChannelRef,
pub state: RolloutState,
pub current_wave: u32,
pub opened_event_log_seq: Option<i64>,
pub last_transition_event_log_seq: Option<i64>,
pub opened_at: DateTime<Utc>,
pub terminal_at: Option<DateTime<Utc>>,
pub superseded_at: Option<DateTime<Utc>>,
}Expand description
The full row shape the reducer operates on. Mirrors the on-disk
rollouts table (RFC-0008 §6.3) plus per-rollout in-memory aggregates
the reducer needs to decide transitions.
Fields§
§rollout_id: RolloutId§channel: ChannelId§target_ref: ChannelRef§state: RolloutState§current_wave: u32§opened_event_log_seq: Option<i64>event_log.seq of the RolloutOpened event that opened this
rollout. NULL-able under the v0.2.1 baseline (RFC-0008 §6.1 item 3 +
.claude/plans/v0.2.1-followups.md #1); tightens to NOT NULL when
the event_log writer gains synchronous seq return.
last_transition_event_log_seq: Option<i64>event_log.seq of the most recent rollout_event that mutated
this rollout. Same NULL-able caveat as opened_event_log_seq.
opened_at: DateTime<Utc>§terminal_at: Option<DateTime<Utc>>§superseded_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for RolloutRecord
impl Clone for RolloutRecord
Source§fn clone(&self) -> RolloutRecord
fn clone(&self) -> RolloutRecord
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 RolloutRecord
impl Debug for RolloutRecord
Source§impl<'de> Deserialize<'de> for RolloutRecord
impl<'de> Deserialize<'de> for RolloutRecord
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 RolloutRecord
impl PartialEq for RolloutRecord
Source§impl Serialize for RolloutRecord
impl Serialize for RolloutRecord
impl Eq for RolloutRecord
impl StructuralPartialEq for RolloutRecord
Auto Trait Implementations§
impl Freeze for RolloutRecord
impl RefUnwindSafe for RolloutRecord
impl Send for RolloutRecord
impl Sync for RolloutRecord
impl Unpin for RolloutRecord
impl UnwindSafe for RolloutRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more