#[non_exhaustive]pub struct SensitiveDataDetections {
pub count: Option<i64>,
pub type: Option<String>,
pub occurrences: Option<Occurrences>,
}
Expand description
The list of detected instances of sensitive data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.count: Option<i64>
The total number of occurrences of sensitive data that were detected.
type: Option<String>
The type of sensitive data that was detected. For example, the type might indicate that the data is an email address.
occurrences: Option<Occurrences>
Details about the sensitive data that was detected.
Implementations§
source§impl SensitiveDataDetections
impl SensitiveDataDetections
sourcepub fn count(&self) -> Option<i64>
pub fn count(&self) -> Option<i64>
The total number of occurrences of sensitive data that were detected.
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of sensitive data that was detected. For example, the type might indicate that the data is an email address.
sourcepub fn occurrences(&self) -> Option<&Occurrences>
pub fn occurrences(&self) -> Option<&Occurrences>
Details about the sensitive data that was detected.
source§impl SensitiveDataDetections
impl SensitiveDataDetections
sourcepub fn builder() -> SensitiveDataDetectionsBuilder
pub fn builder() -> SensitiveDataDetectionsBuilder
Creates a new builder-style object to manufacture SensitiveDataDetections
.
Trait Implementations§
source§impl Clone for SensitiveDataDetections
impl Clone for SensitiveDataDetections
source§fn clone(&self) -> SensitiveDataDetections
fn clone(&self) -> SensitiveDataDetections
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 Debug for SensitiveDataDetections
impl Debug for SensitiveDataDetections
source§impl PartialEq for SensitiveDataDetections
impl PartialEq for SensitiveDataDetections
source§fn eq(&self, other: &SensitiveDataDetections) -> bool
fn eq(&self, other: &SensitiveDataDetections) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SensitiveDataDetections
Auto Trait Implementations§
impl Freeze for SensitiveDataDetections
impl RefUnwindSafe for SensitiveDataDetections
impl Send for SensitiveDataDetections
impl Sync for SensitiveDataDetections
impl Unpin for SensitiveDataDetections
impl UnwindSafe for SensitiveDataDetections
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.