Struct aws_sdk_ssm::types::ComplianceExecutionSummary
source · #[non_exhaustive]pub struct ComplianceExecutionSummary {
pub execution_time: DateTime,
pub execution_id: Option<String>,
pub execution_type: Option<String>,
}
Expand description
A summary of the call execution that includes an execution ID, the type of execution (for example, Command
), and the date/time of the execution using a datetime object that is saved in the following format: yyyy-MM-dd'T'HH:mm:ss'Z'
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.execution_time: DateTime
The time the execution ran as a datetime object that is saved in the following format: yyyy-MM-dd'T'HH:mm:ss'Z'
execution_id: Option<String>
An ID created by the system when PutComplianceItems
was called. For example, CommandID
is a valid execution ID. You can use this ID in subsequent calls.
execution_type: Option<String>
The type of execution. For example, Command
is a valid execution type.
Implementations§
source§impl ComplianceExecutionSummary
impl ComplianceExecutionSummary
sourcepub fn execution_time(&self) -> &DateTime
pub fn execution_time(&self) -> &DateTime
The time the execution ran as a datetime object that is saved in the following format: yyyy-MM-dd'T'HH:mm:ss'Z'
sourcepub fn execution_id(&self) -> Option<&str>
pub fn execution_id(&self) -> Option<&str>
An ID created by the system when PutComplianceItems
was called. For example, CommandID
is a valid execution ID. You can use this ID in subsequent calls.
sourcepub fn execution_type(&self) -> Option<&str>
pub fn execution_type(&self) -> Option<&str>
The type of execution. For example, Command
is a valid execution type.
source§impl ComplianceExecutionSummary
impl ComplianceExecutionSummary
sourcepub fn builder() -> ComplianceExecutionSummaryBuilder
pub fn builder() -> ComplianceExecutionSummaryBuilder
Creates a new builder-style object to manufacture ComplianceExecutionSummary
.
Trait Implementations§
source§impl Clone for ComplianceExecutionSummary
impl Clone for ComplianceExecutionSummary
source§fn clone(&self) -> ComplianceExecutionSummary
fn clone(&self) -> ComplianceExecutionSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComplianceExecutionSummary
impl Debug for ComplianceExecutionSummary
impl StructuralPartialEq for ComplianceExecutionSummary
Auto Trait Implementations§
impl Freeze for ComplianceExecutionSummary
impl RefUnwindSafe for ComplianceExecutionSummary
impl Send for ComplianceExecutionSummary
impl Sync for ComplianceExecutionSummary
impl Unpin for ComplianceExecutionSummary
impl UnwindSafe for ComplianceExecutionSummary
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