Struct aws_sdk_securityhub::model::ClassificationResult
source · [−]#[non_exhaustive]pub struct ClassificationResult {
pub mime_type: Option<String>,
pub size_classified: i64,
pub additional_occurrences: bool,
pub status: Option<ClassificationStatus>,
pub sensitive_data: Option<Vec<SensitiveDataResult>>,
pub custom_data_identifiers: Option<CustomDataIdentifiersResult>,
}
Expand description
Details about the sensitive data that was detected on the resource.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.mime_type: Option<String>
The type of content that the finding applies to.
size_classified: i64
The total size in bytes of the affected data.
additional_occurrences: bool
Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.
status: Option<ClassificationStatus>
The current status of the sensitive data detection.
sensitive_data: Option<Vec<SensitiveDataResult>>
Provides details about sensitive data that was identified based on built-in configuration.
custom_data_identifiers: Option<CustomDataIdentifiersResult>
Provides details about sensitive data that was identified based on customer-defined configuration.
Implementations
sourceimpl ClassificationResult
impl ClassificationResult
sourcepub fn size_classified(&self) -> i64
pub fn size_classified(&self) -> i64
The total size in bytes of the affected data.
sourcepub fn additional_occurrences(&self) -> bool
pub fn additional_occurrences(&self) -> bool
Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.
sourcepub fn status(&self) -> Option<&ClassificationStatus>
pub fn status(&self) -> Option<&ClassificationStatus>
The current status of the sensitive data detection.
sourcepub fn sensitive_data(&self) -> Option<&[SensitiveDataResult]>
pub fn sensitive_data(&self) -> Option<&[SensitiveDataResult]>
Provides details about sensitive data that was identified based on built-in configuration.
sourcepub fn custom_data_identifiers(&self) -> Option<&CustomDataIdentifiersResult>
pub fn custom_data_identifiers(&self) -> Option<&CustomDataIdentifiersResult>
Provides details about sensitive data that was identified based on customer-defined configuration.
sourceimpl ClassificationResult
impl ClassificationResult
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClassificationResult
Trait Implementations
sourceimpl Clone for ClassificationResult
impl Clone for ClassificationResult
sourcefn clone(&self) -> ClassificationResult
fn clone(&self) -> ClassificationResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ClassificationResult
impl Debug for ClassificationResult
sourceimpl PartialEq<ClassificationResult> for ClassificationResult
impl PartialEq<ClassificationResult> for ClassificationResult
sourcefn eq(&self, other: &ClassificationResult) -> bool
fn eq(&self, other: &ClassificationResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ClassificationResult) -> bool
fn ne(&self, other: &ClassificationResult) -> bool
This method tests for !=
.
impl StructuralPartialEq for ClassificationResult
Auto Trait Implementations
impl RefUnwindSafe for ClassificationResult
impl Send for ClassificationResult
impl Sync for ClassificationResult
impl Unpin for ClassificationResult
impl UnwindSafe for ClassificationResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more