pub struct ResumeReconcile {
pub run_id: String,
pub plan_id: String,
pub decisions: Vec<TargetDecision>,
}Expand description
The full reconcile of a run against remote registry state — one
TargetDecision per planned target, in the plan’s target order.
Fields§
§run_id: StringThe run reconciled.
plan_id: StringThe sealed plan id the run executes.
decisions: Vec<TargetDecision>One decision per planned target.
Implementations§
Source§impl ResumeReconcile
impl ResumeReconcile
Sourcepub fn blockers(&self) -> Vec<&TargetDecision>
pub fn blockers(&self) -> Vec<&TargetDecision>
The decisions that block the resume (hard stops the caller must surface via the §10 envelope rather than continue past).
Sourcepub fn is_blocked(&self) -> bool
pub fn is_blocked(&self) -> bool
Whether any decision blocks the resume.
Sourcepub fn adoptions(&self) -> Vec<(&str, &JournalReceipt)>
pub fn adoptions(&self) -> Vec<(&str, &JournalReceipt)>
The (target id, receipt) pairs to journal as target_published before
continuing the barrier, so an adopted-forward publish is never re-run. Empty
unless a publish landed without a durable receipt (not-recorded × Matches).
Trait Implementations§
Source§impl Clone for ResumeReconcile
impl Clone for ResumeReconcile
Source§fn clone(&self) -> ResumeReconcile
fn clone(&self) -> ResumeReconcile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResumeReconcile
impl RefUnwindSafe for ResumeReconcile
impl Send for ResumeReconcile
impl Sync for ResumeReconcile
impl Unpin for ResumeReconcile
impl UnsafeUnpin for ResumeReconcile
impl UnwindSafe for ResumeReconcile
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