pub struct AmendOutcome {
pub removal: RemovalReport,
pub registration_problem: Option<ProblemOutcome>,
pub operation: OperationReport,
pub task: String,
pub lifecycle: Option<&'static str>,
pub state_dir: Option<NativePath>,
pub participants: Vec<ParticipantOutcome>,
pub changes: Vec<ParticipantChange>,
pub problem: Option<ProblemOutcome>,
}Expand description
Membership changes and any outstanding problems after an amendment.
Fields§
§removal: RemovalReportRemoval or restoration evidence associated with this task.
registration_problem: Option<ProblemOutcome>Failure to record a project root after participant work succeeded.
operation: OperationReportInvocation history tracked separately from task lifecycle.
task: StringTask selected for this operation.
lifecycle: Option<&'static str>Current membership lifecycle of the task.
state_dir: Option<NativePath>Directory holding authoritative Workyard state.
participants: Vec<ParticipantOutcome>Members associated with this task or operation.
changes: Vec<ParticipantChange>Changes reported for individual participants.
problem: Option<ProblemOutcome>Diagnostic describing a failure or an unresolved condition.
Implementations§
Source§impl AmendOutcome
impl AmendOutcome
Sourcepub fn rejected(task: String, problem: Problem) -> Self
pub fn rejected(task: String, problem: Problem) -> Self
Build an invocation outcome for a request rejected before effects.
Sourcepub fn from_result(result: AmendResult) -> Self
pub fn from_result(result: AmendResult) -> Self
Convert the core operation result into its public representation.
Trait Implementations§
Auto Trait Implementations§
impl Forget for AmendOutcome
impl Freeze for AmendOutcome
impl Move for AmendOutcome
impl RefUnwindSafe for AmendOutcome
impl Send for AmendOutcome
impl Sync for AmendOutcome
impl Unpin for AmendOutcome
impl UnsafeUnpin for AmendOutcome
impl UnwindSafe for AmendOutcome
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