pub struct AttemptJournalRecord { /* private fields */ }Expand description
Maintained v1 append-only local reservations and receipts for one exact operation.
Implementations§
Source§impl AttemptJournalRecord
impl AttemptJournalRecord
Sourcepub const fn new(authority: AttemptAuthorityRecord) -> Self
pub const fn new(authority: AttemptAuthorityRecord) -> Self
Retain an exact validated authority with no consumed attempts.
Read exact declared identity and immutable ceilings.
Sourcepub fn pending_observation_request(&self) -> Option<&str>
pub fn pending_observation_request(&self) -> Option<&str>
Read the exact canonical request of the unresolved observation, if any.
This projects existing validated history. It creates no reservation or repeat-dispatch permission and returns None after a settled observation.
Sourcepub fn applied_receipt(&self) -> Option<AppliedReceiptEvidence<'_>>
pub fn applied_receipt(&self) -> Option<AppliedReceiptEvidence<'_>>
Read the terminal Applied receipt from validated original history.
This does not authenticate evidence or grant dispatch, retry or release.
Sourcepub fn view(&self) -> AttemptJournalView
pub fn view(&self) -> AttemptJournalView
Project local evidence without IO or replenishing authority.
Use Self::applied_receipt for the terminal receipt or Self::digest
for exact full-history identity.
Sourcepub fn digest(&self) -> ArtifactChecksumRecord
pub fn digest(&self) -> ArtifactChecksumRecord
Hash full original authority and every canonical chronological reservation/receipt.
The NUL-terminated v1 domain precedes 64 ASCII authority hash bytes, a big-endian u64 event count and closed tagged event bytes. Derived projections, JSON formatting and filesystem paths are excluded. This authenticates no receipt.