pub struct OutputDeliveryIntentRecord {Show 15 fields
pub delivery_id: OutputDeliveryId,
pub effect_intent: EffectIntent,
pub destination: DestinationRef,
pub sink_ref: OutputSinkRef,
pub desired_sink_ref: OutputSinkRef,
pub delivery_kind: OutputDeliveryKind,
pub content_mode: OutputContentMode,
pub content_refs: Vec<ContentRef>,
pub redacted_summary: String,
pub privacy: PrivacyClass,
pub retention: RetentionClass,
pub policy_refs: Vec<PolicyRef>,
pub idempotency_key: Option<IdempotencyKey>,
pub dedupe_key: DedupeKey,
pub runtime_package_fingerprint: RuntimePackageFingerprint,
}Expand description
Carries the output delivery intent 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§
§delivery_id: OutputDeliveryIdStable delivery id used for typed lineage, lookup, or dedupe.
effect_intent: EffectIntentEffect intent used by this record or request.
destination: DestinationRefDestination label or ref for this item; it is metadata and does not deliver content by itself.
sink_ref: OutputSinkRefTyped sink ref reference. Resolving or executing it is a separate policy-gated step.
desired_sink_ref: OutputSinkRefTyped desired sink ref reference. Resolving or executing it is a separate policy-gated step.
delivery_kind: OutputDeliveryKindOutput delivery setting or policy. Delivery coordinators use it to decide sink mode, dedupe, and required evidence.
content_mode: OutputContentModeContent mode used by this record or request.
content_refs: Vec<ContentRef>Content references associated with this record; resolving them is a separate policy-gated step.
redacted_summary: StringRedacted human-readable summary safe for events, telemetry, and logs.
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.
policy_refs: Vec<PolicyRef>Policy references that govern admission, projection, execution, or delivery.
idempotency_key: Option<IdempotencyKey>Idempotency setting or key for deduping retries. Use it to prevent duplicate side effects during replay or repair.
dedupe_key: DedupeKeyDedupe policy or key for a side-effecting operation. Replay and repair use it to avoid sending or executing the same effect twice.
runtime_package_fingerprint: RuntimePackageFingerprintFingerprint 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.
Implementations§
Source§impl OutputDeliveryIntentRecord
impl OutputDeliveryIntentRecord
Sourcepub fn from_request(request: &OutputDeliveryRequest) -> Self
pub fn from_request(request: &OutputDeliveryRequest) -> Self
Constructs this value from request. Use it when adapting canonical SDK records without introducing a second behavior path.
Sourcepub fn to_journal_record(
&self,
base: OutputDeliveryJournalBase,
) -> JournalRecord
pub fn to_journal_record( &self, base: OutputDeliveryJournalBase, ) -> JournalRecord
Converts this value into journal record data. This is data-only and does not perform I/O, call host ports, append journals, publish events, or start processes.
Trait Implementations§
Source§impl Clone for OutputDeliveryIntentRecord
impl Clone for OutputDeliveryIntentRecord
Source§fn clone(&self) -> OutputDeliveryIntentRecord
fn clone(&self) -> OutputDeliveryIntentRecord
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 OutputDeliveryIntentRecord
impl Debug for OutputDeliveryIntentRecord
Source§impl<'de> Deserialize<'de> for OutputDeliveryIntentRecord
impl<'de> Deserialize<'de> for OutputDeliveryIntentRecord
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 OutputDeliveryIntentRecord
impl PartialEq for OutputDeliveryIntentRecord
Source§fn eq(&self, other: &OutputDeliveryIntentRecord) -> bool
fn eq(&self, other: &OutputDeliveryIntentRecord) -> bool
self and other values to be equal, and is used by ==.