Struct aws_sdk_ec2::model::InstanceStatusEvent [−][src]
#[non_exhaustive]pub struct InstanceStatusEvent {
pub instance_event_id: Option<String>,
pub code: Option<EventCode>,
pub description: Option<String>,
pub not_after: Option<DateTime>,
pub not_before: Option<DateTime>,
pub not_before_deadline: Option<DateTime>,
}
Expand description
Describes a scheduled event for an instance.
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.instance_event_id: Option<String>
The ID of the event.
code: Option<EventCode>
The event code.
description: Option<String>
A description of the event.
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
not_after: Option<DateTime>
The latest scheduled end time for the event.
not_before: Option<DateTime>
The earliest scheduled start time for the event.
not_before_deadline: Option<DateTime>
The deadline for starting the event.
Implementations
The ID of the event.
A description of the event.
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
The earliest scheduled start time for the event.
The deadline for starting the event.
Creates a new builder-style object to manufacture InstanceStatusEvent
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InstanceStatusEvent
impl Send for InstanceStatusEvent
impl Sync for InstanceStatusEvent
impl Unpin for InstanceStatusEvent
impl UnwindSafe for InstanceStatusEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more