#[non_exhaustive]pub struct FailedRemediationExceptionBatch {
pub failure_message: Option<String>,
pub failed_items: Option<Vec<RemediationException>>,
}Expand description
List of each of the failed remediation exceptions with specific reasons.
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.failure_message: Option<String>Returns a failure message. For example, the auto-remediation has failed.
failed_items: Option<Vec<RemediationException>>Returns remediation exception resource key object of the failed items.
Implementations§
source§impl FailedRemediationExceptionBatch
impl FailedRemediationExceptionBatch
sourcepub fn failure_message(&self) -> Option<&str>
pub fn failure_message(&self) -> Option<&str>
Returns a failure message. For example, the auto-remediation has failed.
sourcepub fn failed_items(&self) -> &[RemediationException]
pub fn failed_items(&self) -> &[RemediationException]
Returns remediation exception resource key object of the failed 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 .failed_items.is_none().
source§impl FailedRemediationExceptionBatch
impl FailedRemediationExceptionBatch
sourcepub fn builder() -> FailedRemediationExceptionBatchBuilder
pub fn builder() -> FailedRemediationExceptionBatchBuilder
Creates a new builder-style object to manufacture FailedRemediationExceptionBatch.
Trait Implementations§
source§impl Clone for FailedRemediationExceptionBatch
impl Clone for FailedRemediationExceptionBatch
source§fn clone(&self) -> FailedRemediationExceptionBatch
fn clone(&self) -> FailedRemediationExceptionBatch
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 PartialEq for FailedRemediationExceptionBatch
impl PartialEq for FailedRemediationExceptionBatch
source§fn eq(&self, other: &FailedRemediationExceptionBatch) -> bool
fn eq(&self, other: &FailedRemediationExceptionBatch) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FailedRemediationExceptionBatch
Auto Trait Implementations§
impl RefUnwindSafe for FailedRemediationExceptionBatch
impl Send for FailedRemediationExceptionBatch
impl Sync for FailedRemediationExceptionBatch
impl Unpin for FailedRemediationExceptionBatch
impl UnwindSafe for FailedRemediationExceptionBatch
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.