Struct rusoto_health::DateTimeRange
[−]
[src]
pub struct DateTimeRange { pub from: Option<Timestamp>, pub to: Option<Timestamp>, }
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
from: Option<Timestamp>
The starting date and time of a time range.
to: Option<Timestamp>
The ending date and time of a time range.
Trait Implementations
impl Default for DateTimeRange
[src]
fn default() -> DateTimeRange
Returns the "default value" for a type. Read more
impl Debug for DateTimeRange
[src]
impl Clone for DateTimeRange
[src]
fn clone(&self) -> DateTimeRange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more