pub enum DateSpanPeriod {
Day,
Week,
Month,
Quarter,
Year,
Range,
}Expand description
The period classification of a DateSpan.
Variants§
Day
A single day.
Week
A calendar week (Sunday–Saturday, matching upstream locale convention).
Month
A calendar month.
Quarter
A calendar quarter.
Year
A calendar year.
Range
An explicit date range (no period alignment).
Implementations§
Trait Implementations§
Source§impl Clone for DateSpanPeriod
impl Clone for DateSpanPeriod
impl Copy for DateSpanPeriod
Source§impl Debug for DateSpanPeriod
impl Debug for DateSpanPeriod
impl Eq for DateSpanPeriod
Source§impl PartialEq for DateSpanPeriod
impl PartialEq for DateSpanPeriod
impl StructuralPartialEq for DateSpanPeriod
Auto Trait Implementations§
impl Forget for DateSpanPeriod
impl Freeze for DateSpanPeriod
impl Move for DateSpanPeriod
impl RefUnwindSafe for DateSpanPeriod
impl Send for DateSpanPeriod
impl Sync for DateSpanPeriod
impl Unpin for DateSpanPeriod
impl UnsafeUnpin for DateSpanPeriod
impl UnwindSafe for DateSpanPeriod
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