pub struct InvestigationReport {
pub schema_version: u16,
pub username: String,
pub generated_at_ms: Option<u64>,
pub summary: ReportSummary,
pub found_accounts: Vec<ReportAccount>,
pub high_confidence_accounts: Vec<ReportAccount>,
pub uncertain_accounts: Vec<ReportUncertainAccount>,
pub evidence_table: Vec<ReportEvidence>,
pub identity_clusters: Vec<IdentityCluster>,
pub timeline: Vec<ReportTimelineEvent>,
pub disabled_sites: Vec<ReportDisabledSite>,
pub limitations: Vec<ReportLimitation>,
}Expand description
Structured report over one scan or scan-derived artifact.
Fields§
§schema_version: u16Version of this report model.
username: StringUsername or handle being investigated.
generated_at_ms: Option<u64>Unix epoch milliseconds when the report was generated, if the caller supplies it.
summary: ReportSummaryAggregate scan/report counts.
found_accounts: Vec<ReportAccount>All found accounts, sorted by confidence descending and then site.
high_confidence_accounts: Vec<ReportAccount>High-confidence found accounts, split out as a first-class section for renderers.
uncertain_accounts: Vec<ReportUncertainAccount>Inconclusive site outcomes that must not be treated as present or absent.
evidence_table: Vec<ReportEvidence>Flat structured evidence table for found accounts.
identity_clusters: Vec<IdentityCluster>Identity candidates supplied by the scan artifact.
timeline: Vec<ReportTimelineEvent>Optional timeline/change events supplied by higher layers.
disabled_sites: Vec<ReportDisabledSite>Disabled or parked sites that matched the scan scope but were omitted.
limitations: Vec<ReportLimitation>Explicit caveats that renderers should include in the report.
Implementations§
Source§impl InvestigationReport
impl InvestigationReport
Sourcepub fn from_scan(
username: impl Into<String>,
outcomes: &[CheckOutcome],
identity_clusters: Vec<IdentityCluster>,
) -> Self
pub fn from_scan( username: impl Into<String>, outcomes: &[CheckOutcome], identity_clusters: Vec<IdentityCluster>, ) -> Self
Build a report from one scan’s outcomes and precomputed identity clusters.
Sourcepub fn builder(
username: impl Into<String>,
outcomes: &[CheckOutcome],
) -> InvestigationReportBuilder
pub fn builder( username: impl Into<String>, outcomes: &[CheckOutcome], ) -> InvestigationReportBuilder
Start a report builder.
Trait Implementations§
Source§impl Clone for InvestigationReport
impl Clone for InvestigationReport
Source§fn clone(&self) -> InvestigationReport
fn clone(&self) -> InvestigationReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InvestigationReport
impl Debug for InvestigationReport
Source§impl<'de> Deserialize<'de> for InvestigationReport
impl<'de> Deserialize<'de> for InvestigationReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for InvestigationReport
Source§impl PartialEq for InvestigationReport
impl PartialEq for InvestigationReport
Source§fn eq(&self, other: &InvestigationReport) -> bool
fn eq(&self, other: &InvestigationReport) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for InvestigationReport
impl Serialize for InvestigationReport
impl StructuralPartialEq for InvestigationReport
Auto Trait Implementations§
impl Freeze for InvestigationReport
impl RefUnwindSafe for InvestigationReport
impl Send for InvestigationReport
impl Sync for InvestigationReport
impl Unpin for InvestigationReport
impl UnsafeUnpin for InvestigationReport
impl UnwindSafe for InvestigationReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.