pub struct CompoundReviewResult {
pub correlation_id: Uuid,
pub findings: Vec<ReviewFinding>,
pub agent_outputs: Vec<ReviewAgentOutput>,
pub pass: bool,
pub duration: Duration,
pub agents_run: usize,
pub agents_failed: usize,
}Expand description
Result of a compound review cycle.
Fields§
§correlation_id: UuidCorrelation ID for this review run.
findings: Vec<ReviewFinding>All findings from all agents (deduplicated).
agent_outputs: Vec<ReviewAgentOutput>Individual agent outputs.
pass: boolOverall pass/fail status.
duration: DurationDuration of the review.
agents_run: usizeNumber of agents that ran.
agents_failed: usizeNumber of agents that failed.
Implementations§
Source§impl CompoundReviewResult
impl CompoundReviewResult
Sourcepub fn format_report(&self) -> String
pub fn format_report(&self) -> String
Format a structured markdown summary suitable for posting as a Gitea comment.
Sourcepub fn actionable_findings(&self) -> Vec<&ReviewFinding>
pub fn actionable_findings(&self) -> Vec<&ReviewFinding>
Extract CRITICAL and HIGH findings suitable for issue filing.
Trait Implementations§
Source§impl Clone for CompoundReviewResult
impl Clone for CompoundReviewResult
Source§fn clone(&self) -> CompoundReviewResult
fn clone(&self) -> CompoundReviewResult
Returns a duplicate of the value. Read more
1.0.0 · 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 CompoundReviewResult
impl RefUnwindSafe for CompoundReviewResult
impl Send for CompoundReviewResult
impl Sync for CompoundReviewResult
impl Unpin for CompoundReviewResult
impl UnsafeUnpin for CompoundReviewResult
impl UnwindSafe for CompoundReviewResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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