pub struct TaskReport {
pub name: Option<String>,
pub lifecycle: Option<&'static str>,
pub condition: Condition,
pub provenance: Provenance,
pub record: NativePath,
pub recorded: Option<SavedTask>,
pub evidence: Option<SavedTask>,
pub pending_participant: Option<usize>,
pub busy: bool,
pub problems: Vec<ProblemOutcome>,
pub current: Vec<ParticipantReport>,
}Expand description
Recorded state, current observations and diagnostics for one task.
Fields§
§name: Option<String>Name used to identify this entry.
lifecycle: Option<&'static str>Current membership lifecycle of the task.
condition: ConditionUser-facing health classification for the observed task.
provenance: ProvenanceOrigin of the facts in this report.
record: NativePathLocation of the task record when available.
recorded: Option<SavedTask>Last published task information.
evidence: Option<SavedTask>Independent evidence available for checking the task record.
pending_participant: Option<usize>Index of the participant associated with outstanding effect evidence.
busy: boolWhether another operation currently holds admission.
problems: Vec<ProblemOutcome>Diagnostics collected while reading or inspecting the task.
current: Vec<ParticipantReport>Facts collected from the current filesystem or Git inspection.
Trait Implementations§
Source§impl From<TaskInspection> for TaskReport
impl From<TaskInspection> for TaskReport
Source§fn from(inspection: TaskInspection) -> Self
fn from(inspection: TaskInspection) -> Self
Converts to this type from the input type.
Source§impl From<TaskSnapshot> for TaskReport
impl From<TaskSnapshot> for TaskReport
Source§fn from(snapshot: TaskSnapshot) -> Self
fn from(snapshot: TaskSnapshot) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for TaskReport
impl Freeze for TaskReport
impl Move for TaskReport
impl RefUnwindSafe for TaskReport
impl Send for TaskReport
impl Sync for TaskReport
impl Unpin for TaskReport
impl UnsafeUnpin for TaskReport
impl UnwindSafe for TaskReport
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