#[non_exhaustive]pub struct CustomDataIdentifiersBuilder { /* private fields */ }Expand description
A builder for CustomDataIdentifiers.
Implementations§
source§impl CustomDataIdentifiersBuilder
impl CustomDataIdentifiersBuilder
sourcepub fn detections(self, input: CustomDetection) -> Self
pub fn detections(self, input: CustomDetection) -> Self
Appends an item to detections.
To override the contents of this collection use set_detections.
The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
sourcepub fn set_detections(self, input: Option<Vec<CustomDetection>>) -> Self
pub fn set_detections(self, input: Option<Vec<CustomDetection>>) -> Self
The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
sourcepub fn get_detections(&self) -> &Option<Vec<CustomDetection>>
pub fn get_detections(&self) -> &Option<Vec<CustomDetection>>
The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
sourcepub fn total_count(self, input: i64) -> Self
pub fn total_count(self, input: i64) -> Self
The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.
sourcepub fn set_total_count(self, input: Option<i64>) -> Self
pub fn set_total_count(self, input: Option<i64>) -> Self
The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.
sourcepub fn get_total_count(&self) -> &Option<i64>
pub fn get_total_count(&self) -> &Option<i64>
The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.
sourcepub fn build(self) -> CustomDataIdentifiers
pub fn build(self) -> CustomDataIdentifiers
Consumes the builder and constructs a CustomDataIdentifiers.
Trait Implementations§
source§impl Clone for CustomDataIdentifiersBuilder
impl Clone for CustomDataIdentifiersBuilder
source§fn clone(&self) -> CustomDataIdentifiersBuilder
fn clone(&self) -> CustomDataIdentifiersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CustomDataIdentifiersBuilder
impl Debug for CustomDataIdentifiersBuilder
source§impl Default for CustomDataIdentifiersBuilder
impl Default for CustomDataIdentifiersBuilder
source§fn default() -> CustomDataIdentifiersBuilder
fn default() -> CustomDataIdentifiersBuilder
source§impl PartialEq for CustomDataIdentifiersBuilder
impl PartialEq for CustomDataIdentifiersBuilder
source§fn eq(&self, other: &CustomDataIdentifiersBuilder) -> bool
fn eq(&self, other: &CustomDataIdentifiersBuilder) -> bool
self and other values to be equal, and is used
by ==.