pub struct ExecutionSettlementRecord { /* private fields */ }Expand description
Strict v1 immutable exact journal checkpoint, with no copied counters or completion flags.
Structural decoding authenticates no receipts. Current admission requires the full exact original journal set, causal Applied prerequisites and every operation Applied. This is local ledger settlement, not full backup/restore completion, application safety, command quiescence, fresh authority or fence/reference-release permission.
Implementations§
Source§impl ExecutionSettlementRecord
impl ExecutionSettlementRecord
Sourcepub fn new(
plan_intent: ArtifactChecksumRecord,
journals: Vec<ExecutionSettlementJournalRecord>,
) -> Result<Self, ExecutionSettlementError>
pub fn new( plan_intent: ArtifactChecksumRecord, journals: Vec<ExecutionSettlementJournalRecord>, ) -> Result<Self, ExecutionSettlementError>
Declare bounded unique journal fingerprints in canonical sequence order.
Declaration alone proves no journal presence or Applied outcome. Policy and persistence independently admit original retained journals before publication/replay.
§Errors
Rejects empty/excessive rows or repeated operation identity, including different hashes.
Sourcepub const fn plan_intent(&self) -> &ArtifactChecksumRecord
pub const fn plan_intent(&self) -> &ArtifactChecksumRecord
Read original full plan identity, including all original allowances.
Sourcepub fn journals(&self) -> &[ExecutionSettlementJournalRecord]
pub fn journals(&self) -> &[ExecutionSettlementJournalRecord]
Read exact canonical fingerprint set; no row is a dispatch/completion receipt.
Sourcepub fn digest(&self) -> ArtifactChecksumRecord
pub fn digest(&self) -> ArtifactChecksumRecord
Hash NUL-terminated v1 domain, 64 ASCII plan hash, u64 row count and ascending u64 operation identity/64 ASCII history hash pairs, all integers big-endian.