Struct aws_sdk_inspector::operation::add_attributes_to_findings::AddAttributesToFindingsInput
source · #[non_exhaustive]pub struct AddAttributesToFindingsInput {
pub finding_arns: Option<Vec<String>>,
pub attributes: Option<Vec<Attribute>>,
}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.finding_arns: Option<Vec<String>>The ARNs that specify the findings that you want to assign attributes to.
attributes: Option<Vec<Attribute>>The array of attributes that you want to assign to specified findings.
Implementations§
source§impl AddAttributesToFindingsInput
impl AddAttributesToFindingsInput
sourcepub fn finding_arns(&self) -> &[String]
pub fn finding_arns(&self) -> &[String]
The ARNs that specify the findings that you want to assign attributes to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .finding_arns.is_none().
sourcepub fn attributes(&self) -> &[Attribute]
pub fn attributes(&self) -> &[Attribute]
The array of attributes that you want to assign to specified findings.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .attributes.is_none().
source§impl AddAttributesToFindingsInput
impl AddAttributesToFindingsInput
sourcepub fn builder() -> AddAttributesToFindingsInputBuilder
pub fn builder() -> AddAttributesToFindingsInputBuilder
Creates a new builder-style object to manufacture AddAttributesToFindingsInput.
Trait Implementations§
source§impl Clone for AddAttributesToFindingsInput
impl Clone for AddAttributesToFindingsInput
source§fn clone(&self) -> AddAttributesToFindingsInput
fn clone(&self) -> AddAttributesToFindingsInput
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 AddAttributesToFindingsInput
impl Debug for AddAttributesToFindingsInput
source§impl PartialEq for AddAttributesToFindingsInput
impl PartialEq for AddAttributesToFindingsInput
source§fn eq(&self, other: &AddAttributesToFindingsInput) -> bool
fn eq(&self, other: &AddAttributesToFindingsInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddAttributesToFindingsInput
Auto Trait Implementations§
impl RefUnwindSafe for AddAttributesToFindingsInput
impl Send for AddAttributesToFindingsInput
impl Sync for AddAttributesToFindingsInput
impl Unpin for AddAttributesToFindingsInput
impl UnwindSafe for AddAttributesToFindingsInput
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.