pub struct AnalysisCollection {
pub data: AnalysisData,
pub diagnostics: ScanDiagnostics,
}Expand description
A compact summary plus diagnostics from the source scan that produced it.
The legacy aggregation entry points return only AnalysisData for TUI
callers that intentionally operate on best-effort data. Noninteractive
callers can use the *_with_diagnostics variants and reject an all-failed
scan or surface partial failures before rendering data.
Fields§
§data: AnalysisDataSuccessfully parsed metrics, even when some other sources failed.
diagnostics: ScanDiagnosticsCandidate, success, and failure information for the scan.
Auto Trait Implementations§
impl Freeze for AnalysisCollection
impl RefUnwindSafe for AnalysisCollection
impl Send for AnalysisCollection
impl Sync for AnalysisCollection
impl Unpin for AnalysisCollection
impl UnsafeUnpin for AnalysisCollection
impl UnwindSafe for AnalysisCollection
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