pub struct TimeRange {
pub from_inclusive: Option<f64>,
pub to_exclusive: Option<f64>,
}
Expand description
The time range.
Fields§
§from_inclusive: Option<f64>
The start time, in Unix time in seconds. For more information see timestamp.
to_exclusive: Option<f64>
The end time, in Unix time in seconds. For more information see timestamp.
Trait Implementations§
impl StructuralPartialEq for TimeRange
Auto Trait Implementations§
impl Freeze for TimeRange
impl RefUnwindSafe for TimeRange
impl Send for TimeRange
impl Sync for TimeRange
impl Unpin for TimeRange
impl UnwindSafe for TimeRange
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