pub struct ContextCheckpointLineageV1 {
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 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
Lineage references binding a checkpoint to the rest of the work graph.
Fields§
§project_id: ProjectIdProject the checkpoint belongs to.
workspace_id: WorkspaceIdWorkspace the checkpoint belongs to.
tenant_id: TenantIdTenant/account security boundary for synced continuation state.
task_id: TaskIdTask the checkpoint continues.
plan_id: Option<PlanId>Plan the task executes, when one is pinned.
receipt_ids: Vec<ReceiptId>Receipts produced so far, sorted and unique.
context_ir_digest: Option<Sha256Digest>Context IR content identity, when one is pinned.
hosted_index_digest: Option<Sha256Digest>Hosted index content identity, when one is pinned.
evidence_refs: Vec<ProtocolReference>Evidence references, sorted and unique.
knowledge_refs: Vec<ProtocolReference>Knowledge-state references, sorted and unique.
gotcha_refs: Vec<ProtocolReference>Gotcha references, sorted and unique.
snapshot_refs: Vec<ProtocolReference>Context Snapshot references, sorted and unique.
Implementations§
Source§impl ContextCheckpointLineageV1
impl ContextCheckpointLineageV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate every lineage identity, reference, bound, and ordering rule.
Trait Implementations§
Source§impl Clone for ContextCheckpointLineageV1
impl Clone for ContextCheckpointLineageV1
Source§impl Debug for ContextCheckpointLineageV1
impl Debug for ContextCheckpointLineageV1
Source§impl<'de> Deserialize<'de> for ContextCheckpointLineageV1
impl<'de> Deserialize<'de> for ContextCheckpointLineageV1
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 ContextCheckpointLineageV1
impl StructuralPartialEq for ContextCheckpointLineageV1
Auto Trait Implementations§
impl Forget for ContextCheckpointLineageV1
impl Freeze for ContextCheckpointLineageV1
impl Move for ContextCheckpointLineageV1
impl RefUnwindSafe for ContextCheckpointLineageV1
impl Send for ContextCheckpointLineageV1
impl Sync for ContextCheckpointLineageV1
impl Unpin for ContextCheckpointLineageV1
impl UnsafeUnpin for ContextCheckpointLineageV1
impl UnwindSafe for ContextCheckpointLineageV1
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