Struct aws_sdk_accessanalyzer::types::FindingSource
source · #[non_exhaustive]pub struct FindingSource {
pub type: FindingSourceType,
pub detail: Option<FindingSourceDetail>,
}Expand description
The source of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
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.type: FindingSourceTypeIndicates the type of access that generated the finding.
detail: Option<FindingSourceDetail>Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
Implementations§
source§impl FindingSource
impl FindingSource
sourcepub fn type(&self) -> &FindingSourceType
pub fn type(&self) -> &FindingSourceType
Indicates the type of access that generated the finding.
sourcepub fn detail(&self) -> Option<&FindingSourceDetail>
pub fn detail(&self) -> Option<&FindingSourceDetail>
Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
source§impl FindingSource
impl FindingSource
sourcepub fn builder() -> FindingSourceBuilder
pub fn builder() -> FindingSourceBuilder
Creates a new builder-style object to manufacture FindingSource.
Trait Implementations§
source§impl Clone for FindingSource
impl Clone for FindingSource
source§fn clone(&self) -> FindingSource
fn clone(&self) -> FindingSource
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 FindingSource
impl Debug for FindingSource
source§impl PartialEq for FindingSource
impl PartialEq for FindingSource
source§fn eq(&self, other: &FindingSource) -> bool
fn eq(&self, other: &FindingSource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FindingSource
Auto Trait Implementations§
impl RefUnwindSafe for FindingSource
impl Send for FindingSource
impl Sync for FindingSource
impl Unpin for FindingSource
impl UnwindSafe for FindingSource
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>
Creates a shared type from an unshared type.