pub struct OutputDeliveryReconciliationRecord {
pub delivery_id: OutputDeliveryId,
pub intent_record_id: String,
pub side_effect_kind: EffectKind,
pub idempotency_key: Option<IdempotencyKey>,
pub dedupe_key: DedupeKey,
pub external_operation_id: Option<String>,
pub terminal_status: OutputDispatchStatus,
pub terminal_append_status: TerminalAppendStatus,
pub reconciliation_adapter: Option<OutputSinkRef>,
pub unsafe_pending_reason: String,
pub replay_decision: ReplayRepairDecision,
pub resend_allowed: bool,
}Expand description
Carries the output delivery reconciliation 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.
intent_record_id: StringStable intent record id used for typed lineage, lookup, or dedupe.
side_effect_kind: EffectKindKind discriminator for side effect kind. Use it to route finite match arms without parsing display text.
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.
external_operation_id: Option<String>Stable external operation id used for typed lineage, lookup, or dedupe.
terminal_status: OutputDispatchStatusTerminal status used by this record or request.
terminal_append_status: TerminalAppendStatusTerminal append status used by this record or request.
reconciliation_adapter: Option<OutputSinkRef>Optional reconciliation adapter value. When absent, callers should use the documented default or skip that optional behavior.
unsafe_pending_reason: StringReason a pending side effect is unsafe to retry automatically. Recovery uses it to require repair or reconciliation before continuing.
replay_decision: ReplayRepairDecisionReplay decision used by this record or request.
resend_allowed: boolAllowlist for this policy or contract. Validation uses it to reject undeclared or policy-denied values.
Implementations§
Source§impl OutputDeliveryReconciliationRecord
impl OutputDeliveryReconciliationRecord
Sourcepub fn to_journal_record(
&self,
base: OutputDeliveryJournalBase,
destination: DestinationRef,
) -> JournalRecord
pub fn to_journal_record( &self, base: OutputDeliveryJournalBase, destination: DestinationRef, ) -> 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 OutputDeliveryReconciliationRecord
impl Clone for OutputDeliveryReconciliationRecord
Source§fn clone(&self) -> OutputDeliveryReconciliationRecord
fn clone(&self) -> OutputDeliveryReconciliationRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for OutputDeliveryReconciliationRecord
impl<'de> Deserialize<'de> for OutputDeliveryReconciliationRecord
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 OutputDeliveryReconciliationRecord
impl PartialEq for OutputDeliveryReconciliationRecord
Source§fn eq(&self, other: &OutputDeliveryReconciliationRecord) -> bool
fn eq(&self, other: &OutputDeliveryReconciliationRecord) -> bool
self and other values to be equal, and is used by ==.