pub struct ProgrammaticHealthAnalysis {
pub report: HealthReport,
pub grouping: Option<HealthGrouping>,
pub root: PathBuf,
pub elapsed: Duration,
}Expand description
API-owned health analysis payload returned by programmatic runners.
The engine owns execution, but this type is the public runner contract so embedders do not have to construct or depend on engine result structs.
Fields§
§report: HealthReportTyped health report produced by the engine.
grouping: Option<HealthGrouping>Grouped findings when a grouping mode was requested.
root: PathBufResolved analysis root the report paths are relative to.
elapsed: DurationAnalysis wall time.
Auto Trait Implementations§
impl Freeze for ProgrammaticHealthAnalysis
impl RefUnwindSafe for ProgrammaticHealthAnalysis
impl Send for ProgrammaticHealthAnalysis
impl Sync for ProgrammaticHealthAnalysis
impl Unpin for ProgrammaticHealthAnalysis
impl UnsafeUnpin for ProgrammaticHealthAnalysis
impl UnwindSafe for ProgrammaticHealthAnalysis
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> 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