pub struct ContextCheckpointTaskV2 {
pub task_id: TaskId,
pub title: ContextCheckpointTextV2,
pub status: ContextCheckpointTaskStatusV1,
pub plan_id: Option<PlanId>,
}Expand description
The task carried by a V3 checkpoint.
Fields§
§task_id: TaskIdIdentity of the task.
title: ContextCheckpointTextV2Bounded human-readable title.
status: ContextCheckpointTaskStatusV1Lifecycle status.
plan_id: Option<PlanId>Plan the task executes, when one is pinned.
Implementations§
Source§impl ContextCheckpointTaskV2
impl ContextCheckpointTaskV2
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate task identity and cross-field bounds.
Trait Implementations§
Source§impl Clone for ContextCheckpointTaskV2
impl Clone for ContextCheckpointTaskV2
Source§impl Debug for ContextCheckpointTaskV2
impl Debug for ContextCheckpointTaskV2
Source§impl<'de> Deserialize<'de> for ContextCheckpointTaskV2
impl<'de> Deserialize<'de> for ContextCheckpointTaskV2
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 ContextCheckpointTaskV2
Source§impl PartialEq for ContextCheckpointTaskV2
impl PartialEq for ContextCheckpointTaskV2
Source§impl Serialize for ContextCheckpointTaskV2
impl Serialize for ContextCheckpointTaskV2
impl StructuralPartialEq for ContextCheckpointTaskV2
Auto Trait Implementations§
impl Forget for ContextCheckpointTaskV2
impl Freeze for ContextCheckpointTaskV2
impl Move for ContextCheckpointTaskV2
impl RefUnwindSafe for ContextCheckpointTaskV2
impl Send for ContextCheckpointTaskV2
impl Sync for ContextCheckpointTaskV2
impl Unpin for ContextCheckpointTaskV2
impl UnsafeUnpin for ContextCheckpointTaskV2
impl UnwindSafe for ContextCheckpointTaskV2
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