pub struct RepairExhaustionRecord {
pub record_schema_version: u16,
pub record_kind: RepairRecordKind,
pub schema_id: OutputSchemaId,
pub output_schema_version: SchemaVersion,
pub validation_attempts: Vec<ValidationAttemptId>,
pub repair_attempts: Vec<RepairAttemptId>,
pub source_attempt_ids: Vec<AttemptId>,
pub candidate_content_ref: ContentRef,
pub retry_exhausted: bool,
pub redacted_summary: String,
pub reason: String,
pub privacy: PrivacyClass,
}Expand description
Carries the repair exhaustion 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§
§record_schema_version: u16Wire schema version for this record shape. Use it for compatibility checks before deserializing or replaying stored data.
record_kind: RepairRecordKindKind discriminator for record kind. Use it to route finite match arms without parsing display text.
schema_id: OutputSchemaIdStable schema id used for typed lineage, lookup, or dedupe.
output_schema_version: SchemaVersionWire schema version for this record shape. Use it for compatibility checks before deserializing or replaying stored data.
validation_attempts: Vec<ValidationAttemptId>Validation policy applied before output is accepted as typed data. It controls validator selection, bounds, failure visibility, and local validation behavior.
repair_attempts: Vec<RepairAttemptId>Attempt identifier or attempt history for bounded retry/repair. Use it to preserve ordering and avoid retry loops that cannot be audited.
source_attempt_ids: Vec<AttemptId>Attempt identifier or attempt history for bounded retry/repair. Use it to preserve ordering and avoid retry loops that cannot be audited.
candidate_content_ref: ContentRefContent reference for the candidate value being validated.
retry_exhausted: boolWhether retry exhausted is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
redacted_summary: StringRedacted human-readable summary safe for events, telemetry, and logs.
reason: StringRedacted explanation for a denial, failure, status, or package delta.
privacy: PrivacyClassPrivacy class used for projection, telemetry, and raw-content access decisions.
Trait Implementations§
Source§impl Clone for RepairExhaustionRecord
impl Clone for RepairExhaustionRecord
Source§fn clone(&self) -> RepairExhaustionRecord
fn clone(&self) -> RepairExhaustionRecord
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 RepairExhaustionRecord
impl Debug for RepairExhaustionRecord
Source§impl<'de> Deserialize<'de> for RepairExhaustionRecord
impl<'de> Deserialize<'de> for RepairExhaustionRecord
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 RepairExhaustionRecord
impl PartialEq for RepairExhaustionRecord
Source§fn eq(&self, other: &RepairExhaustionRecord) -> bool
fn eq(&self, other: &RepairExhaustionRecord) -> bool
self and other values to be equal, and is used by ==.