pub struct AnalysisDataset {
pub sessions: Vec<AnalysisSession>,
pub diagnostics: ScanDiagnostics,
}Expand description
Canonical batch-analysis dataset before any display-specific projection.
The in-memory entries retain provider and date provenance. Serialization is
deliberately transparent: the JSON value is an array of CodeAnalysis
objects, so every element has exactly the same schema as a single-file
golden result.
Fields§
§sessions: Vec<AnalysisSession>Sessions in deterministic provider and source order.
diagnostics: ScanDiagnosticsCandidate, success, and failure information from collection.
The custom Serialize implementation deliberately omits this field
so canonical batch JSON remains a transparent CodeAnalysis[].
Implementations§
Source§impl AnalysisDataset
impl AnalysisDataset
Sourcepub fn summarize(&self) -> AnalysisData
pub fn summarize(&self) -> AnalysisData
Projects this canonical dataset into the compact display summaries.
Sourcepub fn summarize_with_diagnostics(&self) -> AnalysisCollection
pub fn summarize_with_diagnostics(&self) -> AnalysisCollection
Projects the dataset while retaining its collection diagnostics.
Trait Implementations§
Source§impl Clone for AnalysisDataset
impl Clone for AnalysisDataset
Source§fn clone(&self) -> AnalysisDataset
fn clone(&self) -> AnalysisDataset
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 moreSource§impl Debug for AnalysisDataset
impl Debug for AnalysisDataset
Source§impl Default for AnalysisDataset
impl Default for AnalysisDataset
Source§fn default() -> AnalysisDataset
fn default() -> AnalysisDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnalysisDataset
impl RefUnwindSafe for AnalysisDataset
impl Send for AnalysisDataset
impl Sync for AnalysisDataset
impl Unpin for AnalysisDataset
impl UnsafeUnpin for AnalysisDataset
impl UnwindSafe for AnalysisDataset
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