pub struct ReplayPendingSideEffect {
pub effect_id: EffectId,
pub intent_record_id: String,
pub idempotency_key: Option<IdempotencyKey>,
pub dedupe_key: Option<DedupeKey>,
pub unsafe_pending_reason: String,
pub retry_allowed: bool,
}Expand description
Holds replay pending side effect application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§effect_id: EffectIdStable effect id used for typed lineage, lookup, or dedupe.
intent_record_id: StringStable intent record id used for typed lineage, lookup, or dedupe.
idempotency_key: Option<IdempotencyKey>Idempotency setting or key for deduping retries. Use it to prevent duplicate side effects during replay or repair.
dedupe_key: Option<DedupeKey>Dedupe policy or key for a side-effecting operation. Replay and repair use it to avoid sending or executing the same effect twice.
unsafe_pending_reason: StringReason a pending side effect is unsafe to retry automatically. Recovery uses it to require repair or reconciliation before continuing.
retry_allowed: boolAllowlist for this policy or contract. Validation uses it to reject undeclared or policy-denied values.
Implementations§
Source§impl ReplayPendingSideEffect
impl ReplayPendingSideEffect
Sourcepub fn from_pending(pending: PendingSideEffect) -> Self
pub fn from_pending(pending: PendingSideEffect) -> Self
Constructs this value from pending. Use it when adapting canonical SDK records without introducing a second behavior path.
Trait Implementations§
Source§impl Clone for ReplayPendingSideEffect
impl Clone for ReplayPendingSideEffect
Source§fn clone(&self) -> ReplayPendingSideEffect
fn clone(&self) -> ReplayPendingSideEffect
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 ReplayPendingSideEffect
impl Debug for ReplayPendingSideEffect
Source§impl<'de> Deserialize<'de> for ReplayPendingSideEffect
impl<'de> Deserialize<'de> for ReplayPendingSideEffect
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 ReplayPendingSideEffect
impl PartialEq for ReplayPendingSideEffect
Source§fn eq(&self, other: &ReplayPendingSideEffect) -> bool
fn eq(&self, other: &ReplayPendingSideEffect) -> bool
self and other values to be equal, and is used by ==.