#[non_exhaustive]pub struct AuditMitigationActionsTaskTarget {
pub audit_task_id: Option<String>,
pub finding_ids: Option<Vec<String>>,
pub audit_check_to_reason_code_filter: Option<HashMap<String, Vec<String>>>,
}
Expand description
Used in MitigationActionParams, this information identifies the target findings to which the mitigation actions are applied. Only one entry appears.
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.audit_task_id: Option<String>
If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
finding_ids: Option<Vec<String>>
If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
audit_check_to_reason_code_filter: Option<HashMap<String, Vec<String>>>
Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.
Implementations§
source§impl AuditMitigationActionsTaskTarget
impl AuditMitigationActionsTaskTarget
sourcepub fn audit_task_id(&self) -> Option<&str>
pub fn audit_task_id(&self) -> Option<&str>
If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
sourcepub fn finding_ids(&self) -> &[String]
pub fn finding_ids(&self) -> &[String]
If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those 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 .finding_ids.is_none()
.
source§impl AuditMitigationActionsTaskTarget
impl AuditMitigationActionsTaskTarget
sourcepub fn builder() -> AuditMitigationActionsTaskTargetBuilder
pub fn builder() -> AuditMitigationActionsTaskTargetBuilder
Creates a new builder-style object to manufacture AuditMitigationActionsTaskTarget
.
Trait Implementations§
source§impl Clone for AuditMitigationActionsTaskTarget
impl Clone for AuditMitigationActionsTaskTarget
source§fn clone(&self) -> AuditMitigationActionsTaskTarget
fn clone(&self) -> AuditMitigationActionsTaskTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AuditMitigationActionsTaskTarget
impl PartialEq for AuditMitigationActionsTaskTarget
source§fn eq(&self, other: &AuditMitigationActionsTaskTarget) -> bool
fn eq(&self, other: &AuditMitigationActionsTaskTarget) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuditMitigationActionsTaskTarget
Auto Trait Implementations§
impl Freeze for AuditMitigationActionsTaskTarget
impl RefUnwindSafe for AuditMitigationActionsTaskTarget
impl Send for AuditMitigationActionsTaskTarget
impl Sync for AuditMitigationActionsTaskTarget
impl Unpin for AuditMitigationActionsTaskTarget
impl UnwindSafe for AuditMitigationActionsTaskTarget
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