pub enum PeriodFormat {
Annual,
SemiAnnual,
Quarterly,
Monthly,
Weekly,
Daily,
}Variants§
Annual
YYYY for annual data (e.g., 2013)
SemiAnnual
YYYY-S[1-2] for semi-annual data (e.g., 2013-S1)
Quarterly
YYYY-Q[1-4] for quarterly data (e.g., 2013-Q1)
Monthly
YYYY-MM for monthly data (e.g., 2013-01)
Weekly
YYYY-W[01-53] for weekly data (e.g., 2013-W01)
Daily
YYYY-MM-DD for daily data (e.g., 2013-01-01)
Trait Implementations§
Source§impl Clone for PeriodFormat
impl Clone for PeriodFormat
Source§fn clone(&self) -> PeriodFormat
fn clone(&self) -> PeriodFormat
Returns a duplicate 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 PeriodFormat
impl Debug for PeriodFormat
Source§impl Default for PeriodFormat
impl Default for PeriodFormat
Source§fn default() -> PeriodFormat
fn default() -> PeriodFormat
Returns the “default value” for a type. Read more
impl Copy for PeriodFormat
Auto Trait Implementations§
impl Freeze for PeriodFormat
impl RefUnwindSafe for PeriodFormat
impl Send for PeriodFormat
impl Sync for PeriodFormat
impl Unpin for PeriodFormat
impl UnsafeUnpin for PeriodFormat
impl UnwindSafe for PeriodFormat
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