pub struct IntegrationResult {
pub applied: usize,
pub apply_conflicts: Vec<String>,
pub verdict: Option<MergeVerdict>,
pub blame: Option<IntegrationBlame>,
}Expand description
Result of integrating accepted subtasks and gating the union.
Fields§
§applied: usize§apply_conflicts: Vec<String>Patches that failed to apply cleanly (textual integration conflicts).
Human-readable "{subtask_id}: {error}" strings; blame carries the
structured form.
verdict: Option<MergeVerdict>Verdict on the integrated union — None if a patch failed to apply
(which is itself an integration failure the caller must treat as reject).
blame: Option<IntegrationBlame>Structured attribution of why the union failed — which subtask / file /
symbol / check is implicated. None when the union integrated cleanly.
Implementations§
Source§impl IntegrationResult
impl IntegrationResult
Sourcepub fn integrated_cleanly(&self) -> bool
pub fn integrated_cleanly(&self) -> bool
The integration is sound only if every patch applied AND the union gate accepted. A textual apply conflict is never a success.
Trait Implementations§
Source§impl Debug for IntegrationResult
impl Debug for IntegrationResult
Source§impl From<&IntegrationResult> for IntegrationReportDto
impl From<&IntegrationResult> for IntegrationReportDto
Source§fn from(r: &IntegrationResult) -> Self
fn from(r: &IntegrationResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntegrationResult
impl RefUnwindSafe for IntegrationResult
impl Send for IntegrationResult
impl Sync for IntegrationResult
impl Unpin for IntegrationResult
impl UnsafeUnpin for IntegrationResult
impl UnwindSafe for IntegrationResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more