pub enum PeriodRange {
Many(Range<DateTime<Utc>>),
Single(DateTime<Utc>),
}Expand description
The range of time the CDR periods span.
Variants§
Many(Range<DateTime<Utc>>)
There are many periods in the CDR and so the range is from the start_date_time of the first to
the start_date_time of the last.
Single(DateTime<Utc>)
There is one period in the CDR and so one start_date_time.
Trait Implementations§
Source§impl Debug for PeriodRange
impl Debug for PeriodRange
Auto Trait Implementations§
impl Freeze for PeriodRange
impl RefUnwindSafe for PeriodRange
impl Send for PeriodRange
impl Sync for PeriodRange
impl Unpin for PeriodRange
impl UnsafeUnpin for PeriodRange
impl UnwindSafe for PeriodRange
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