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