pub struct IsolationEventRecord {Show 13 fields
pub schema_version: u16,
pub run_id: RunId,
pub agent_id: AgentId,
pub event_kind: IsolationEventKind,
pub subject_ref: EntityRef,
pub related_refs: Vec<EntityRef>,
pub source: SourceRef,
pub destination: DestinationRef,
pub policy_refs: Vec<PolicyRef>,
pub privacy: PrivacyClass,
pub retention: RetentionClass,
pub runtime_package_fingerprint: String,
pub redacted_summary: String,
}Expand description
Carries the isolation event record 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§
§schema_version: u16Wire schema version used for compatibility checks.
run_id: RunIdRun identifier used for lineage, filtering, replay, and dedupe.
agent_id: AgentIdAgent identifier used for lineage, filtering, and ownership checks.
event_kind: IsolationEventKindKind discriminator for event kind. Use it to route finite match arms without parsing display text.
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.
source: SourceRefSource label or ref for this item; it is metadata and does not fetch content by itself.
destination: DestinationRefDestination label or ref for this item; it is metadata and does not deliver content by itself.
policy_refs: Vec<PolicyRef>Policy references that govern admission, projection, execution, or delivery.
privacy: PrivacyClassPrivacy class used for projection, telemetry, and raw-content access decisions.
retention: RetentionClassRetention class used by hosts and sinks when storing or exporting this item.
runtime_package_fingerprint: StringFingerprint of the runtime package snapshot in force when this value was produced. Use it for replay, dedupe, and package-lineage checks; the field is evidence and does not execute package behavior.
redacted_summary: StringRedacted human-readable summary safe for events, telemetry, and logs.
Trait Implementations§
Source§impl Clone for IsolationEventRecord
impl Clone for IsolationEventRecord
Source§fn clone(&self) -> IsolationEventRecord
fn clone(&self) -> IsolationEventRecord
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 IsolationEventRecord
impl Debug for IsolationEventRecord
Source§impl<'de> Deserialize<'de> for IsolationEventRecord
impl<'de> Deserialize<'de> for IsolationEventRecord
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 IsolationEventRecord
impl PartialEq for IsolationEventRecord
Source§fn eq(&self, other: &IsolationEventRecord) -> bool
fn eq(&self, other: &IsolationEventRecord) -> bool
self and other values to be equal, and is used by ==.