pub struct OutputDeliveryResultRecord {
pub delivery_id: OutputDeliveryId,
pub effect_result: EffectResult,
pub destination: DestinationRef,
pub sink_ref: OutputSinkRef,
pub dispatch_status: OutputDispatchStatus,
pub ack_ref: Option<String>,
pub external_operation_id: Option<String>,
pub error_ref: Option<String>,
pub content_refs: Vec<ContentRef>,
pub redacted_summary: String,
pub retry_classification: RetryClassification,
}Expand description
Carries the output delivery result 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_result: EffectResultEffect result 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.
dispatch_status: OutputDispatchStatusDispatch status used by this record or request.
ack_ref: Option<String>Typed ack ref reference. Resolving or executing it is a separate policy-gated step.
external_operation_id: Option<String>Stable external operation id used for typed lineage, lookup, or dedupe.
error_ref: Option<String>Typed error ref reference. Resolving or executing it is a separate policy-gated step.
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.
retry_classification: RetryClassificationRetry classification used by this record or request.
Implementations§
Source§impl OutputDeliveryResultRecord
impl OutputDeliveryResultRecord
Sourcepub fn completed(
request: &OutputDeliveryRequest,
receipt: &OutputDeliveryReceipt,
) -> Self
pub fn completed( request: &OutputDeliveryRequest, receipt: &OutputDeliveryReceipt, ) -> Self
Returns an updated value with completed configured. This is data-only and does not perform I/O, call host ports, append journals, publish events, or start processes.
Sourcepub fn failed(
request: &OutputDeliveryRequest,
status: OutputDispatchStatus,
error_ref: impl Into<String>,
retry_classification: RetryClassification,
) -> Self
pub fn failed( request: &OutputDeliveryRequest, status: OutputDispatchStatus, error_ref: impl Into<String>, retry_classification: RetryClassification, ) -> Self
Returns an updated value with failed configured. This is data-only and does not perform I/O, call host ports, append journals, publish events, or start processes.
Sourcepub fn reconciliation_needed(
request: &OutputDeliveryRequest,
receipt: &OutputDeliveryReceipt,
) -> Self
pub fn reconciliation_needed( request: &OutputDeliveryRequest, receipt: &OutputDeliveryReceipt, ) -> Self
Builds the reconciliation needed record or result value. This is data-only and does not perform I/O, call host ports, append journals, publish events, or start processes.
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 OutputDeliveryResultRecord
impl Clone for OutputDeliveryResultRecord
Source§fn clone(&self) -> OutputDeliveryResultRecord
fn clone(&self) -> OutputDeliveryResultRecord
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 OutputDeliveryResultRecord
impl Debug for OutputDeliveryResultRecord
Source§impl<'de> Deserialize<'de> for OutputDeliveryResultRecord
impl<'de> Deserialize<'de> for OutputDeliveryResultRecord
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 OutputDeliveryResultRecord
impl PartialEq for OutputDeliveryResultRecord
Source§fn eq(&self, other: &OutputDeliveryResultRecord) -> bool
fn eq(&self, other: &OutputDeliveryResultRecord) -> bool
self and other values to be equal, and is used by ==.