pub struct ProjectTask {
pub id: String,
pub title: String,
pub status: ProjectTaskStatus,
pub depends_on: Vec<String>,
pub retries: u32,
pub max_retries: u32,
pub run_id: Option<String>,
pub progress: Option<String>,
pub last_heartbeat_unix_seconds: Option<u64>,
}Expand description
A project task and its dependency/progress evidence.
Fields§
§id: StringStable task identifier.
title: StringOwner-visible task title.
status: ProjectTaskStatusCurrent task state.
depends_on: Vec<String>Task identifiers that must complete first.
retries: u32Number of failed attempts.
max_retries: u32Maximum failed attempts before the task is permanently failed.
run_id: Option<String>The current run, when the task is running.
progress: Option<String>Latest observed progress text.
last_heartbeat_unix_seconds: Option<u64>Last heartbeat in Unix seconds.
Trait Implementations§
Source§impl Clone for ProjectTask
impl Clone for ProjectTask
Source§impl Debug for ProjectTask
impl Debug for ProjectTask
Source§impl<'de> Deserialize<'de> for ProjectTask
impl<'de> Deserialize<'de> for ProjectTask
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 ProjectTask
Source§impl PartialEq for ProjectTask
impl PartialEq for ProjectTask
Source§impl Serialize for ProjectTask
impl Serialize for ProjectTask
impl StructuralPartialEq for ProjectTask
Auto Trait Implementations§
impl Freeze for ProjectTask
impl RefUnwindSafe for ProjectTask
impl Send for ProjectTask
impl Sync for ProjectTask
impl Unpin for ProjectTask
impl UnsafeUnpin for ProjectTask
impl UnwindSafe for ProjectTask
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