pub struct InvestigationReportBuilder { /* private fields */ }Expand description
Builder for optional report inputs that do not live in CheckOutcome.
Implementations§
Source§impl InvestigationReportBuilder
impl InvestigationReportBuilder
Sourcepub fn identity_clusters(self, clusters: Vec<IdentityCluster>) -> Self
pub fn identity_clusters(self, clusters: Vec<IdentityCluster>) -> Self
Attach precomputed identity clusters.
Sourcepub fn timeline(self, timeline: Vec<ReportTimelineEvent>) -> Self
pub fn timeline(self, timeline: Vec<ReportTimelineEvent>) -> Self
Attach timeline/change events from scan history.
Sourcepub fn disabled_sites(self, disabled_sites: Vec<ReportDisabledSite>) -> Self
pub fn disabled_sites(self, disabled_sites: Vec<ReportDisabledSite>) -> Self
Attach disabled/parked sites that matched report scope.
Sourcepub fn generated_at_ms(self, generated_at_ms: u64) -> Self
pub fn generated_at_ms(self, generated_at_ms: u64) -> Self
Stamp a caller-supplied generation time.
Sourcepub fn build(self) -> InvestigationReport
pub fn build(self) -> InvestigationReport
Finish building the report.
Trait Implementations§
Source§impl Clone for InvestigationReportBuilder
impl Clone for InvestigationReportBuilder
Source§fn clone(&self) -> InvestigationReportBuilder
fn clone(&self) -> InvestigationReportBuilder
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 Freeze for InvestigationReportBuilder
impl RefUnwindSafe for InvestigationReportBuilder
impl Send for InvestigationReportBuilder
impl Sync for InvestigationReportBuilder
impl Unpin for InvestigationReportBuilder
impl UnsafeUnpin for InvestigationReportBuilder
impl UnwindSafe for InvestigationReportBuilder
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