pub struct RemoveOutcome {
pub condition: Option<Condition>,
pub mutation_started: Option<bool>,
pub removal: RemovalReport,
pub operation: OperationReport,
pub lifecycle: Option<&'static str>,
pub task: String,
pub tasks_root: Option<NativePath>,
pub state_dir: Option<NativePath>,
pub record: Option<NativePath>,
pub participants: Vec<ParticipantOutcome>,
pub problem: Option<ProblemOutcome>,
/* private fields */
}Expand description
Retirement outcome, observed participants and any outstanding problems.
Fields§
§condition: Option<Condition>User-facing health classification for the observed task.
mutation_started: Option<bool>Whether the invocation entered the mutation phase.
removal: RemovalReportRemoval or restoration evidence associated with this task.
operation: OperationReportInvocation history tracked separately from task lifecycle.
lifecycle: Option<&'static str>None when this invocation could not establish task membership.
task: StringTask selected for this operation.
tasks_root: Option<NativePath>Directory containing the task workspaces.
state_dir: Option<NativePath>Directory holding authoritative Workyard state.
record: Option<NativePath>Location of the task record when available.
participants: Vec<ParticipantOutcome>Members associated with this task or operation.
problem: Option<ProblemOutcome>Diagnostic describing a failure or an unresolved condition.
Implementations§
Source§impl RemoveOutcome
impl RemoveOutcome
Sourcepub fn from_removal(result: RemovalResult) -> Self
pub fn from_removal(result: RemovalResult) -> Self
Present a removal or restoration result with its participant evidence.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RemoveOutcome
impl Freeze for RemoveOutcome
impl Move for RemoveOutcome
impl RefUnwindSafe for RemoveOutcome
impl Send for RemoveOutcome
impl Sync for RemoveOutcome
impl Unpin for RemoveOutcome
impl UnsafeUnpin for RemoveOutcome
impl UnwindSafe for RemoveOutcome
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