Struct databento::historical::DateTimeRange
source · pub struct DateTimeRange { /* private fields */ }
Available on crate feature
historical
only.Expand description
A half-closed datetime interval with an inclusive start time and an exclusive end time.
Trait Implementations§
source§impl Clone for DateTimeRange
impl Clone for DateTimeRange
source§fn clone(&self) -> DateTimeRange
fn clone(&self) -> DateTimeRange
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 DateTimeRange
impl Debug for DateTimeRange
source§impl From<(OffsetDateTime, Duration)> for DateTimeRange
impl From<(OffsetDateTime, Duration)> for DateTimeRange
source§fn from(value: (OffsetDateTime, Duration)) -> Self
fn from(value: (OffsetDateTime, Duration)) -> Self
Converts to this type from the input type.
source§impl From<(OffsetDateTime, OffsetDateTime)> for DateTimeRange
impl From<(OffsetDateTime, OffsetDateTime)> for DateTimeRange
source§fn from(value: (OffsetDateTime, OffsetDateTime)) -> Self
fn from(value: (OffsetDateTime, OffsetDateTime)) -> Self
Converts to this type from the input type.
source§impl PartialEq for DateTimeRange
impl PartialEq for DateTimeRange
source§fn eq(&self, other: &DateTimeRange) -> bool
fn eq(&self, other: &DateTimeRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DateTimeRange
impl StructuralPartialEq for DateTimeRange
Auto Trait Implementations§
impl Freeze for DateTimeRange
impl RefUnwindSafe for DateTimeRange
impl Send for DateTimeRange
impl Sync for DateTimeRange
impl Unpin for DateTimeRange
impl UnwindSafe for DateTimeRange
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.