pub struct OutputDeliveryRequest {Show 21 fields
pub delivery_id: OutputDeliveryId,
pub effect_id: EffectId,
pub run_id: RunId,
pub agent_id: AgentId,
pub turn_id: Option<TurnId>,
pub attempt_id: Option<AttemptId>,
pub source_message_id: Option<MessageId>,
pub validated_output_id: Option<ValidatedOutputId>,
pub destination: DestinationRef,
pub sink_ref: OutputSinkRef,
pub delivery_kind: OutputDeliveryKind,
pub content_mode: OutputContentMode,
pub content_refs: Vec<ContentRef>,
pub redacted_summary: String,
pub raw_content: Option<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 request 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_id: EffectIdStable effect id used for typed lineage, lookup, or dedupe.
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.
attempt_id: Option<AttemptId>Attempt identifier for retry, repair, provider, or tool execution evidence.
source_message_id: Option<MessageId>Stable source message id used for typed lineage, lookup, or dedupe.
validated_output_id: Option<ValidatedOutputId>Stable validated output id used for typed lineage, lookup, or dedupe.
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.
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.
raw_content: Option<String>Raw content or raw-content control for this value. Use it only when policy explicitly allows raw content capture 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.
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 OutputDeliveryRequest
impl OutputDeliveryRequest
Sourcepub fn effect_intent(&self) -> EffectIntent
pub fn effect_intent(&self) -> EffectIntent
Returns effect intent derived from the supplied state. This is data-only and does not perform I/O, call host ports, append journals, publish events, or start processes.
Sourcepub fn carries_raw_content(&self) -> bool
pub fn carries_raw_content(&self) -> bool
Returns whether carries raw content applies for this contract. 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 OutputDeliveryRequest
impl Clone for OutputDeliveryRequest
Source§fn clone(&self) -> OutputDeliveryRequest
fn clone(&self) -> OutputDeliveryRequest
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 OutputDeliveryRequest
impl Debug for OutputDeliveryRequest
Source§impl<'de> Deserialize<'de> for OutputDeliveryRequest
impl<'de> Deserialize<'de> for OutputDeliveryRequest
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 OutputDeliveryRequest
impl PartialEq for OutputDeliveryRequest
Source§fn eq(&self, other: &OutputDeliveryRequest) -> bool
fn eq(&self, other: &OutputDeliveryRequest) -> bool
self and other values to be equal, and is used by ==.