Struct aws_sdk_ec2::model::SlotDateTimeRangeRequest
source · [−]#[non_exhaustive]pub struct SlotDateTimeRangeRequest { /* private fields */ }
Expand description
Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.
Implementations
sourceimpl SlotDateTimeRangeRequest
impl SlotDateTimeRangeRequest
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. This value must be later than or equal to the earliest date and at most three months in the future.
sourceimpl SlotDateTimeRangeRequest
impl SlotDateTimeRangeRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SlotDateTimeRangeRequest
.
Trait Implementations
sourceimpl Clone for SlotDateTimeRangeRequest
impl Clone for SlotDateTimeRangeRequest
sourcefn clone(&self) -> SlotDateTimeRangeRequest
fn clone(&self) -> SlotDateTimeRangeRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SlotDateTimeRangeRequest
impl Debug for SlotDateTimeRangeRequest
sourceimpl PartialEq<SlotDateTimeRangeRequest> for SlotDateTimeRangeRequest
impl PartialEq<SlotDateTimeRangeRequest> for SlotDateTimeRangeRequest
sourcefn eq(&self, other: &SlotDateTimeRangeRequest) -> bool
fn eq(&self, other: &SlotDateTimeRangeRequest) -> bool
impl StructuralPartialEq for SlotDateTimeRangeRequest
Auto Trait Implementations
impl RefUnwindSafe for SlotDateTimeRangeRequest
impl Send for SlotDateTimeRangeRequest
impl Sync for SlotDateTimeRangeRequest
impl Unpin for SlotDateTimeRangeRequest
impl UnwindSafe for SlotDateTimeRangeRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more