Struct aws_sdk_securityhub::types::GeneratorDetails
source · #[non_exhaustive]pub struct GeneratorDetails {
pub name: Option<String>,
pub description: Option<String>,
pub labels: Option<Vec<String>>,
}Expand description
Provides metadata for the Amazon CodeGuru detector associated with a finding. This field pertains to findings that relate to Lambda functions. Amazon Inspector identifies policy violations and vulnerabilities in Lambda function code based on internal detectors developed in collaboration with Amazon CodeGuru. Security Hub receives those findings.
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.name: Option<String>The name of the detector used to identify the code vulnerability.
description: Option<String>The description of the detector used to identify the code vulnerability.
labels: Option<Vec<String>>An array of tags used to identify the detector associated with the finding.
Array Members: Minimum number of 0 items. Maximum number of 10 items.
Implementations§
source§impl GeneratorDetails
impl GeneratorDetails
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the detector used to identify the code vulnerability.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the detector used to identify the code vulnerability.
sourcepub fn labels(&self) -> &[String]
pub fn labels(&self) -> &[String]
An array of tags used to identify the detector associated with the finding.
Array Members: Minimum number of 0 items. Maximum number of 10 items.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .labels.is_none().
source§impl GeneratorDetails
impl GeneratorDetails
sourcepub fn builder() -> GeneratorDetailsBuilder
pub fn builder() -> GeneratorDetailsBuilder
Creates a new builder-style object to manufacture GeneratorDetails.
Trait Implementations§
source§impl Clone for GeneratorDetails
impl Clone for GeneratorDetails
source§fn clone(&self) -> GeneratorDetails
fn clone(&self) -> GeneratorDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GeneratorDetails
impl Debug for GeneratorDetails
source§impl PartialEq for GeneratorDetails
impl PartialEq for GeneratorDetails
source§fn eq(&self, other: &GeneratorDetails) -> bool
fn eq(&self, other: &GeneratorDetails) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GeneratorDetails
Auto Trait Implementations§
impl Freeze for GeneratorDetails
impl RefUnwindSafe for GeneratorDetails
impl Send for GeneratorDetails
impl Sync for GeneratorDetails
impl Unpin for GeneratorDetails
impl UnwindSafe for GeneratorDetails
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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