pub struct BaselineSnapshot<P: ParseDiagnostic> {
pub result: AnalysisResult,
pub tool_version: String,
pub timestamp: String,
pub diagnostics: Option<AnalysisDiagnostics<P>>,
}Expand description
What the loader returns to callers. The fields are all the metadata
the delta envelope’s delta.baseline_* keys ultimately surface.
Generic over P: ParseDiagnostic so the loader works for any
adapter that supplies a concrete parse-diagnostic type. The crap4rs
shim concretizes this to BaselineSnapshot<LcovParseDiagnostic>.
Fields§
§result: AnalysisResult§tool_version: String§timestamp: String§diagnostics: Option<AnalysisDiagnostics<P>>Trait Implementations§
Source§impl<P: Clone + ParseDiagnostic> Clone for BaselineSnapshot<P>
impl<P: Clone + ParseDiagnostic> Clone for BaselineSnapshot<P>
Source§fn clone(&self) -> BaselineSnapshot<P>
fn clone(&self) -> BaselineSnapshot<P>
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 moreAuto Trait Implementations§
impl<P> Freeze for BaselineSnapshot<P>
impl<P> RefUnwindSafe for BaselineSnapshot<P>where
P: RefUnwindSafe,
impl<P> Send for BaselineSnapshot<P>where
P: Send,
impl<P> Sync for BaselineSnapshot<P>where
P: Sync,
impl<P> Unpin for BaselineSnapshot<P>where
P: Unpin,
impl<P> UnsafeUnpin for BaselineSnapshot<P>
impl<P> UnwindSafe for BaselineSnapshot<P>where
P: UnwindSafe,
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