Struct aws_sdk_iot::types::AuditTaskMetadata
source · #[non_exhaustive]pub struct AuditTaskMetadata {
pub task_id: Option<String>,
pub task_status: Option<AuditTaskStatus>,
pub task_type: Option<AuditTaskType>,
}
Expand description
The audits that were performed.
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.task_id: Option<String>
The ID of this audit.
task_status: Option<AuditTaskStatus>
The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
task_type: Option<AuditTaskType>
The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
Implementations§
source§impl AuditTaskMetadata
impl AuditTaskMetadata
sourcepub fn task_status(&self) -> Option<&AuditTaskStatus>
pub fn task_status(&self) -> Option<&AuditTaskStatus>
The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
sourcepub fn task_type(&self) -> Option<&AuditTaskType>
pub fn task_type(&self) -> Option<&AuditTaskType>
The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
source§impl AuditTaskMetadata
impl AuditTaskMetadata
sourcepub fn builder() -> AuditTaskMetadataBuilder
pub fn builder() -> AuditTaskMetadataBuilder
Creates a new builder-style object to manufacture AuditTaskMetadata
.
Trait Implementations§
source§impl Clone for AuditTaskMetadata
impl Clone for AuditTaskMetadata
source§fn clone(&self) -> AuditTaskMetadata
fn clone(&self) -> AuditTaskMetadata
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 AuditTaskMetadata
impl Debug for AuditTaskMetadata
source§impl PartialEq for AuditTaskMetadata
impl PartialEq for AuditTaskMetadata
source§fn eq(&self, other: &AuditTaskMetadata) -> bool
fn eq(&self, other: &AuditTaskMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuditTaskMetadata
Auto Trait Implementations§
impl Freeze for AuditTaskMetadata
impl RefUnwindSafe for AuditTaskMetadata
impl Send for AuditTaskMetadata
impl Sync for AuditTaskMetadata
impl Unpin for AuditTaskMetadata
impl UnwindSafe for AuditTaskMetadata
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.