Struct aws_sdk_macie2::operation::list_resource_profile_detections::ListResourceProfileDetectionsOutput
source · #[non_exhaustive]pub struct ListResourceProfileDetectionsOutput {
pub detections: Option<Vec<Detection>>,
pub next_token: Option<String>,
/* private fields */
}
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.detections: Option<Vec<Detection>>
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
next_token: Option<String>
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
Implementations§
source§impl ListResourceProfileDetectionsOutput
impl ListResourceProfileDetectionsOutput
sourcepub fn detections(&self) -> &[Detection]
pub fn detections(&self) -> &[Detection]
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .detections.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
source§impl ListResourceProfileDetectionsOutput
impl ListResourceProfileDetectionsOutput
sourcepub fn builder() -> ListResourceProfileDetectionsOutputBuilder
pub fn builder() -> ListResourceProfileDetectionsOutputBuilder
Creates a new builder-style object to manufacture ListResourceProfileDetectionsOutput
.
Trait Implementations§
source§impl Clone for ListResourceProfileDetectionsOutput
impl Clone for ListResourceProfileDetectionsOutput
source§fn clone(&self) -> ListResourceProfileDetectionsOutput
fn clone(&self) -> ListResourceProfileDetectionsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ListResourceProfileDetectionsOutput
impl PartialEq for ListResourceProfileDetectionsOutput
source§fn eq(&self, other: &ListResourceProfileDetectionsOutput) -> bool
fn eq(&self, other: &ListResourceProfileDetectionsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListResourceProfileDetectionsOutput
impl RequestId for ListResourceProfileDetectionsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListResourceProfileDetectionsOutput
Auto Trait Implementations§
impl Freeze for ListResourceProfileDetectionsOutput
impl RefUnwindSafe for ListResourceProfileDetectionsOutput
impl Send for ListResourceProfileDetectionsOutput
impl Sync for ListResourceProfileDetectionsOutput
impl Unpin for ListResourceProfileDetectionsOutput
impl UnwindSafe for ListResourceProfileDetectionsOutput
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