#[non_exhaustive]pub struct CustomDataIdentifiersResultBuilder { /* private fields */ }
Expand description
A builder for CustomDataIdentifiersResult
.
Implementations§
source§impl CustomDataIdentifiersResultBuilder
impl CustomDataIdentifiersResultBuilder
sourcepub fn detections(self, input: CustomDataIdentifiersDetections) -> Self
pub fn detections(self, input: CustomDataIdentifiersDetections) -> Self
Appends an item to detections
.
To override the contents of this collection use set_detections
.
The list of detected instances of sensitive data.
sourcepub fn set_detections(
self,
input: Option<Vec<CustomDataIdentifiersDetections>>
) -> Self
pub fn set_detections( self, input: Option<Vec<CustomDataIdentifiersDetections>> ) -> Self
The list of detected instances of sensitive data.
sourcepub fn get_detections(&self) -> &Option<Vec<CustomDataIdentifiersDetections>>
pub fn get_detections(&self) -> &Option<Vec<CustomDataIdentifiersDetections>>
The list of detected instances of sensitive data.
sourcepub fn total_count(self, input: i64) -> Self
pub fn total_count(self, input: i64) -> Self
The total number of occurrences of sensitive data.
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 sensitive data.
sourcepub fn get_total_count(&self) -> &Option<i64>
pub fn get_total_count(&self) -> &Option<i64>
The total number of occurrences of sensitive data.
sourcepub fn build(self) -> CustomDataIdentifiersResult
pub fn build(self) -> CustomDataIdentifiersResult
Consumes the builder and constructs a CustomDataIdentifiersResult
.
Trait Implementations§
source§impl Clone for CustomDataIdentifiersResultBuilder
impl Clone for CustomDataIdentifiersResultBuilder
source§fn clone(&self) -> CustomDataIdentifiersResultBuilder
fn clone(&self) -> CustomDataIdentifiersResultBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CustomDataIdentifiersResultBuilder
impl Default for CustomDataIdentifiersResultBuilder
source§fn default() -> CustomDataIdentifiersResultBuilder
fn default() -> CustomDataIdentifiersResultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CustomDataIdentifiersResultBuilder
impl PartialEq for CustomDataIdentifiersResultBuilder
source§fn eq(&self, other: &CustomDataIdentifiersResultBuilder) -> bool
fn eq(&self, other: &CustomDataIdentifiersResultBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomDataIdentifiersResultBuilder
Auto Trait Implementations§
impl Freeze for CustomDataIdentifiersResultBuilder
impl RefUnwindSafe for CustomDataIdentifiersResultBuilder
impl Send for CustomDataIdentifiersResultBuilder
impl Sync for CustomDataIdentifiersResultBuilder
impl Unpin for CustomDataIdentifiersResultBuilder
impl UnwindSafe for CustomDataIdentifiersResultBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.