pub struct TaskRecord {
pub generation: u64,
pub removal: Option<RemovalRecord>,
pub version: u32,
pub task: String,
pub tasks_root: StoredPath,
pub state_dir: StoredPath,
pub checkout: bool,
pub no_fetch: bool,
pub lifecycle: String,
pub operation: OperationRecord,
pub participants: Vec<ParticipantRecord>,
pub problem: Option<ProblemRecord>,
/* private fields */
}Expand description
Versioned on-disk representation of a task incarnation.
Fields§
§generation: u64Identifier distinguishing successive uses of the same task name.
removal: Option<RemovalRecord>Removal or restoration evidence associated with this task.
version: u32Storage format version used to interpret this record.
task: StringTask selected for this operation.
tasks_root: StoredPathDirectory containing the task workspaces.
state_dir: StoredPathDirectory holding authoritative Workyard state.
checkout: boolAllow reuse of an existing target branch.
no_fetch: boolUse locally available refs without fetching.
lifecycle: StringCurrent membership lifecycle of the task.
operation: OperationRecordInvocation history tracked separately from task lifecycle.
participants: Vec<ParticipantRecord>Members associated with this task or operation.
problem: Option<ProblemRecord>Diagnostic describing a failure or an unresolved condition.
Trait Implementations§
Source§impl Clone for TaskRecord
impl Clone for TaskRecord
Source§impl Debug for TaskRecord
impl Debug for TaskRecord
Source§impl<'de> Deserialize<'de> for TaskRecord
impl<'de> Deserialize<'de> for TaskRecord
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Task> for TaskRecord
impl From<&Task> for TaskRecord
Auto Trait Implementations§
impl Forget for TaskRecord
impl Freeze for TaskRecord
impl Move for TaskRecord
impl RefUnwindSafe for TaskRecord
impl Send for TaskRecord
impl Sync for TaskRecord
impl Unpin for TaskRecord
impl UnsafeUnpin for TaskRecord
impl UnwindSafe for TaskRecord
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