pub struct CanonicalUnitSnapshot {Show 13 fields
pub unit_id: UnitId,
pub unit_generation: u64,
pub unit_state: UnitState,
pub interpretation_id: InterpretationId,
pub connection_id: ConnectionId,
pub external_session_id: Option<ExternalSessionId>,
pub flow_id: FlowId,
pub lane_id: LaneId,
pub lane_ordinal: u64,
pub causal_parent_id: Option<UnitId>,
pub source_time: Option<SourceTimeObservation>,
pub source_step: Option<u64>,
pub unit: CanonicalUnit,
}Expand description
Correlation + lifecycle envelope for one unit generation.
Fields§
§unit_id: UnitIdUnit identity (stable across generations).
unit_generation: u64Monotonic generation (starts at 1).
unit_state: UnitStateLifecycle state.
interpretation_id: InterpretationIdInterpretation identity.
connection_id: ConnectionIdConnection identity.
external_session_id: Option<ExternalSessionId>External session when present (e.g. Grok sessionId).
flow_id: FlowIdFlow.
lane_id: LaneIdLane.
lane_ordinal: u64Strict ordinal within the lane.
causal_parent_id: Option<UnitId>Optional causal parent unit.
source_time: Option<SourceTimeObservation>Optional dialect source time (observational; not causality).
source_step: Option<u64>Optional dialect stream step / sequence id (observational; not causality).
Examples: Antigravity ACP update._meta.stepIdx, numeric messageId.
Used by human projection when wall-clock source times are absent.
unit: CanonicalUnitCanonical unit content allowed for this state.
Trait Implementations§
Source§impl Clone for CanonicalUnitSnapshot
impl Clone for CanonicalUnitSnapshot
Source§fn clone(&self) -> CanonicalUnitSnapshot
fn clone(&self) -> CanonicalUnitSnapshot
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 CanonicalUnitSnapshot
impl Debug for CanonicalUnitSnapshot
Source§impl<'de> Deserialize<'de> for CanonicalUnitSnapshot
impl<'de> Deserialize<'de> for CanonicalUnitSnapshot
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
impl Eq for CanonicalUnitSnapshot
Source§impl PartialEq for CanonicalUnitSnapshot
impl PartialEq for CanonicalUnitSnapshot
Source§impl Serialize for CanonicalUnitSnapshot
impl Serialize for CanonicalUnitSnapshot
impl StructuralPartialEq for CanonicalUnitSnapshot
Auto Trait Implementations§
impl Freeze for CanonicalUnitSnapshot
impl RefUnwindSafe for CanonicalUnitSnapshot
impl Send for CanonicalUnitSnapshot
impl Sync for CanonicalUnitSnapshot
impl Unpin for CanonicalUnitSnapshot
impl UnsafeUnpin for CanonicalUnitSnapshot
impl UnwindSafe for CanonicalUnitSnapshot
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