pub struct ContextCheckpointLineageV2 {Show 13 fields
pub project_id: ProjectId,
pub workspace_id: WorkspaceId,
pub tenant_id: TenantId,
pub task_id: TaskId,
pub plan_id: Option<PlanId>,
pub receipt_ids: Vec<ReceiptId>,
pub artifact_lineage: ContextCheckpointArtifactLineageV1,
pub context_ir_digest: Option<Sha256Digest>,
pub hosted_index_digest: Option<Sha256Digest>,
pub evidence_refs: Vec<ProtocolReference>,
pub knowledge_refs: Vec<ProtocolReference>,
pub gotcha_refs: Vec<ProtocolReference>,
pub snapshot_refs: Vec<ProtocolReference>,
}Expand description
V2 checkpoint lineage that adds authoritative artifact references without
changing the deployed ContextCheckpointLineageV1 wire shape.
Fields§
§project_id: ProjectId§workspace_id: WorkspaceId§tenant_id: TenantId§task_id: TaskId§plan_id: Option<PlanId>§receipt_ids: Vec<ReceiptId>§artifact_lineage: ContextCheckpointArtifactLineageV1§context_ir_digest: Option<Sha256Digest>§hosted_index_digest: Option<Sha256Digest>§evidence_refs: Vec<ProtocolReference>§knowledge_refs: Vec<ProtocolReference>§gotcha_refs: Vec<ProtocolReference>§snapshot_refs: Vec<ProtocolReference>Implementations§
Source§impl ContextCheckpointLineageV2
impl ContextCheckpointLineageV2
Sourcepub fn legacy(&self) -> ContextCheckpointLineageV1
pub fn legacy(&self) -> ContextCheckpointLineageV1
Return the unchanged V1 compatibility projection.
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate legacy lineage plus authoritative artifact-ref pairing.
Trait Implementations§
Source§impl Clone for ContextCheckpointLineageV2
impl Clone for ContextCheckpointLineageV2
Source§impl Debug for ContextCheckpointLineageV2
impl Debug for ContextCheckpointLineageV2
Source§impl<'de> Deserialize<'de> for ContextCheckpointLineageV2
impl<'de> Deserialize<'de> for ContextCheckpointLineageV2
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 ContextCheckpointLineageV2
impl StructuralPartialEq for ContextCheckpointLineageV2
Auto Trait Implementations§
impl Forget for ContextCheckpointLineageV2
impl Freeze for ContextCheckpointLineageV2
impl Move for ContextCheckpointLineageV2
impl RefUnwindSafe for ContextCheckpointLineageV2
impl Send for ContextCheckpointLineageV2
impl Sync for ContextCheckpointLineageV2
impl Unpin for ContextCheckpointLineageV2
impl UnsafeUnpin for ContextCheckpointLineageV2
impl UnwindSafe for ContextCheckpointLineageV2
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