pub struct RepairRecord {Show 14 fields
pub record_schema_version: u16,
pub record_kind: RepairRecordKind,
pub repair_attempt_id: RepairAttemptId,
pub validation_attempt_id: ValidationAttemptId,
pub source_attempt_id: AttemptId,
pub schema_id: OutputSchemaId,
pub output_schema_version: SchemaVersion,
pub schema_fingerprint: ContentHash,
pub repair_adapter_ref: RepairAdapterRef,
pub attempt_index: u8,
pub max_repair_attempts: u8,
pub prompt: RepairPrompt,
pub redacted_summary: String,
pub privacy: PrivacyClass,
}Expand description
Carries the repair 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.
repair_attempt_id: RepairAttemptIdStable repair attempt id used for typed lineage, lookup, or dedupe.
validation_attempt_id: ValidationAttemptIdStable validation attempt id used for typed lineage, lookup, or dedupe.
source_attempt_id: AttemptIdStable source attempt id used for typed lineage, lookup, or dedupe.
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.
schema_fingerprint: ContentHashDeterministic schema fingerprint used for stale checks, package evidence, or replay comparisons.
repair_adapter_ref: RepairAdapterRefTyped repair adapter ref reference. Resolving or executing it is a separate policy-gated step.
attempt_index: u8Attempt identifier or attempt history for bounded retry/repair. Use it to preserve ordering and avoid retry loops that cannot be audited.
max_repair_attempts: u8Attempt identifier or attempt history for bounded retry/repair. Use it to preserve ordering and avoid retry loops that cannot be audited.
prompt: RepairPromptPrompt used by this record or request.
redacted_summary: StringRedacted human-readable summary safe for events, telemetry, and logs.
privacy: PrivacyClassPrivacy class used for projection, telemetry, and raw-content access decisions.
Trait Implementations§
Source§impl Clone for RepairRecord
impl Clone for RepairRecord
Source§fn clone(&self) -> RepairRecord
fn clone(&self) -> RepairRecord
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 RepairRecord
impl Debug for RepairRecord
Source§impl<'de> Deserialize<'de> for RepairRecord
impl<'de> Deserialize<'de> for RepairRecord
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 RepairRecord
impl PartialEq for RepairRecord
Source§fn eq(&self, other: &RepairRecord) -> bool
fn eq(&self, other: &RepairRecord) -> bool
self and other values to be equal, and is used by ==.