Struct aws_sdk_health::model::DateTimeRange [−][src]
Expand description
A range of dates and times that is used by the EventFilter and EntityFilter objects. If from
is set and to
is set:
match items where the timestamp (startTime
, endTime
, or
lastUpdatedTime
) is between from
and to
inclusive. If from
is set and to
is not set: match items where
the timestamp value is equal to or after from
. If from
is not set
and to
is set: match items where the timestamp value is equal to or before
to
.
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.from: Option<Instant>
The starting date and time of a time range.
to: Option<Instant>
The ending date and time of a time range.
Implementations
Creates a new builder-style object to manufacture DateTimeRange
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 DateTimeRange
impl Send for DateTimeRange
impl Sync for DateTimeRange
impl Unpin for DateTimeRange
impl UnwindSafe for DateTimeRange
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