Struct aws_sdk_ec2::types::SlotStartTimeRangeRequest
source · #[non_exhaustive]pub struct SlotStartTimeRangeRequest {
pub earliest_time: Option<DateTime>,
pub latest_time: Option<DateTime>,
}
Expand description
Describes the time period for a Scheduled Instance to start its first schedule.
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.earliest_time: Option<DateTime>
The earliest date and time, in UTC, for the Scheduled Instance to start.
latest_time: Option<DateTime>
The latest date and time, in UTC, for the Scheduled Instance to start.
Implementations§
source§impl SlotStartTimeRangeRequest
impl SlotStartTimeRangeRequest
sourcepub fn earliest_time(&self) -> Option<&DateTime>
pub fn earliest_time(&self) -> Option<&DateTime>
The earliest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn latest_time(&self) -> Option<&DateTime>
pub fn latest_time(&self) -> Option<&DateTime>
The latest date and time, in UTC, for the Scheduled Instance to start.
source§impl SlotStartTimeRangeRequest
impl SlotStartTimeRangeRequest
sourcepub fn builder() -> SlotStartTimeRangeRequestBuilder
pub fn builder() -> SlotStartTimeRangeRequestBuilder
Creates a new builder-style object to manufacture SlotStartTimeRangeRequest
.
Trait Implementations§
source§impl Clone for SlotStartTimeRangeRequest
impl Clone for SlotStartTimeRangeRequest
source§fn clone(&self) -> SlotStartTimeRangeRequest
fn clone(&self) -> SlotStartTimeRangeRequest
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 SlotStartTimeRangeRequest
impl Debug for SlotStartTimeRangeRequest
source§impl PartialEq<SlotStartTimeRangeRequest> for SlotStartTimeRangeRequest
impl PartialEq<SlotStartTimeRangeRequest> for SlotStartTimeRangeRequest
source§fn eq(&self, other: &SlotStartTimeRangeRequest) -> bool
fn eq(&self, other: &SlotStartTimeRangeRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlotStartTimeRangeRequest
Auto Trait Implementations§
impl RefUnwindSafe for SlotStartTimeRangeRequest
impl Send for SlotStartTimeRangeRequest
impl Sync for SlotStartTimeRangeRequest
impl Unpin for SlotStartTimeRangeRequest
impl UnwindSafe for SlotStartTimeRangeRequest
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