Struct aws_sdk_ec2::model::SlotDateTimeRangeRequest
source · [−]#[non_exhaustive]pub struct SlotDateTimeRangeRequest {
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. The time period must span less than one day.
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.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. This value must be later than or equal to the earliest date and at most three months in the future.
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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SlotDateTimeRangeRequest) -> bool
fn ne(&self, other: &SlotDateTimeRangeRequest) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more