#[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 ==
.impl StructuralPartialEq for CustomDataIdentifiersBuilder
Auto Trait Implementations§
impl Freeze for CustomDataIdentifiersBuilder
impl RefUnwindSafe for CustomDataIdentifiersBuilder
impl Send for CustomDataIdentifiersBuilder
impl Sync for CustomDataIdentifiersBuilder
impl Unpin for CustomDataIdentifiersBuilder
impl UnwindSafe for CustomDataIdentifiersBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more