pub struct ContextCheckpointArtifactLineageV1 {
pub task_ref: Sha256Digest,
pub plan_ref: Option<Sha256Digest>,
pub receipt_refs: Vec<Sha256Digest>,
}Expand description
Authoritative content references for the task, plan, and signed receipts represented by a V2 checkpoint.
The task reference is always required. A plan reference is paired with the
checkpoint’s plan_id; receipt references are receipt identity digests and
are only meaningful when that plan pair exists. The bytes and signatures
behind these digests are verified by the core lineage adapter before this
value is attached to a checkpoint.
Fields§
§task_ref: Sha256DigestCanonical digest of the admitted TaskEnvelopeV1.
plan_ref: Option<Sha256Digest>Canonical digest of the admitted ExecutionPlanV1, when pinned.
receipt_refs: Vec<Sha256Digest>SHA-256 digests of exact canonical ReceiptDocumentV1 bytes, sorted and unique.
Implementations§
Source§impl ContextCheckpointArtifactLineageV1
impl ContextCheckpointArtifactLineageV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate shape, digest identity, pairing, ordering, and bounds.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContextCheckpointArtifactLineageV1
impl<'de> Deserialize<'de> for ContextCheckpointArtifactLineageV1
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextCheckpointArtifactLineageV1
impl StructuralPartialEq for ContextCheckpointArtifactLineageV1
Auto Trait Implementations§
impl Freeze for ContextCheckpointArtifactLineageV1
impl RefUnwindSafe for ContextCheckpointArtifactLineageV1
impl Send for ContextCheckpointArtifactLineageV1
impl Sync for ContextCheckpointArtifactLineageV1
impl Unpin for ContextCheckpointArtifactLineageV1
impl UnsafeUnpin for ContextCheckpointArtifactLineageV1
impl UnwindSafe for ContextCheckpointArtifactLineageV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more