pub struct EventIndexProjection {Show 13 fields
pub run_id: RunId,
pub agent_id: AgentId,
pub turn_id: Option<TurnId>,
pub event_family: String,
pub event_kind: String,
pub source: SourceRef,
pub destination: Option<DestinationRef>,
pub subject_ref: EntityRef,
pub related_refs: Vec<EntityRef>,
pub correlation_keys: Vec<CorrelationEntry>,
pub tags: Vec<String>,
pub privacy_class: PrivacyClass,
pub delivery_semantics: String,
}Expand description
Carries the event index projection record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
Fields§
§run_id: RunIdRun identifier used for lineage, filtering, replay, and dedupe.
agent_id: AgentIdAgent identifier used for lineage, filtering, and ownership checks.
turn_id: Option<TurnId>Turn identifier for one loop turn within a run.
event_family: StringEvent family used by this record or request.
event_kind: StringKind discriminator for event kind. Use it to route finite match arms without parsing display text.
source: SourceRefSource label or ref for this item; it is metadata and does not fetch content by itself.
destination: Option<DestinationRef>Destination label or ref for this item; it is metadata and does not deliver content by itself.
subject_ref: EntityRefTyped subject ref reference. Resolving or executing it is a separate policy-gated step.
Typed related refs references. Resolving them is separate from constructing this record.
correlation_keys: Vec<CorrelationEntry>Correlation-key selector for event filtering.
Any leaves correlation keys unconstrained; Include restricts matches to listed keys.
Tag selector for event filtering.
Any leaves tags unconstrained; Include restricts matches to listed event tags.
privacy_class: PrivacyClassPrivacy class used for projection, telemetry, and raw-content access decisions.
delivery_semantics: StringDelivery-semantic selector for event filtering.
Any leaves delivery semantics unconstrained; Include restricts matches to listed
semantics.
Trait Implementations§
Source§impl Clone for EventIndexProjection
impl Clone for EventIndexProjection
Source§fn clone(&self) -> EventIndexProjection
fn clone(&self) -> EventIndexProjection
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EventIndexProjection
impl Debug for EventIndexProjection
Source§impl<'de> Deserialize<'de> for EventIndexProjection
impl<'de> Deserialize<'de> for EventIndexProjection
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>,
Source§impl PartialEq for EventIndexProjection
impl PartialEq for EventIndexProjection
Source§fn eq(&self, other: &EventIndexProjection) -> bool
fn eq(&self, other: &EventIndexProjection) -> bool
self and other values to be equal, and is used by ==.