pub struct TargetDecision {
pub target: String,
pub ecosystem: Ecosystem,
pub journal_state: JournalState,
pub outcome: VerifyOutcome,
pub action: ResumeAction,
pub detail: Option<String>,
pub adopted_receipt: Option<PublishReceipt>,
}Expand description
One target’s reconcile decision — the classified cell plus the material a resume needs to act on it.
Fields§
§target: StringThe journal/coordinator target id — the ecosystem wire string for a
lone-in-its-ecosystem target, else a per-target key
(journal_target_ids).
ecosystem: EcosystemThe ecosystem this target publishes to.
journal_state: JournalStateWhether the journal recorded a receipt for it.
outcome: VerifyOutcomeWhat the adapter’s verify observed remotely.
action: ResumeActionThe resolved action from the state table.
detail: Option<String>An operator-facing reason for a non-Skip decision (why it conflicts, is
unverifiable, will be adopted, or will be resumed).
adopted_receipt: Option<PublishReceipt>For ResumeAction::AdoptForward, the synthetic receipt to journal so the
coordinator treats the target as already published. None otherwise.
Trait Implementations§
Source§impl Clone for TargetDecision
impl Clone for TargetDecision
Source§fn clone(&self) -> TargetDecision
fn clone(&self) -> TargetDecision
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 TargetDecision
impl RefUnwindSafe for TargetDecision
impl Send for TargetDecision
impl Sync for TargetDecision
impl Unpin for TargetDecision
impl UnsafeUnpin for TargetDecision
impl UnwindSafe for TargetDecision
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