pub struct ReportProvenance {
pub source: ReportSource,
pub freshness: Freshness,
pub scan_started_at: Option<SystemTime>,
pub generated_at: SystemTime,
pub tiers: TierProvenance,
}Expand description
How and when the coherent answer was produced.
Fields§
§source: ReportSourceWeakest source among tiers contributing to the report.
freshness: FreshnessLeast fresh tier contributing to the report.
scan_started_at: Option<SystemTime>Conservative start watermark of the entry verification pass.
generated_at: SystemTimeCaller-supplied instant at which this answer was generated.
tiers: TierProvenancePer-tier source, currency, and observation time.
Implementations§
Source§impl ReportProvenance
impl ReportProvenance
Sourcepub fn of(
index: &Index,
content_requested: AnalysisSet,
generated_at: SystemTime,
) -> Self
pub fn of( index: &Index, content_requested: AnalysisSet, generated_at: SystemTime, ) -> Self
Derive report provenance for the requested tiers from one immutable index snapshot.
Trait Implementations§
Source§impl Clone for ReportProvenance
impl Clone for ReportProvenance
Auto Trait Implementations§
impl Freeze for ReportProvenance
impl RefUnwindSafe for ReportProvenance
impl Send for ReportProvenance
impl Sync for ReportProvenance
impl Unpin for ReportProvenance
impl UnsafeUnpin for ReportProvenance
impl UnwindSafe for ReportProvenance
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