pub struct TimePeriod {
pub start_date: NaiveDate,
pub end_date: NaiveDate,
pub fiscal_year: u16,
pub fiscal_periods: Vec<u8>,
}Expand description
Time period specification for generation.
Fields§
§start_date: NaiveDateStart date (inclusive)
end_date: NaiveDateEnd date (inclusive)
fiscal_year: u16Fiscal year
fiscal_periods: Vec<u8>Fiscal periods covered
Implementations§
Source§impl TimePeriod
impl TimePeriod
Trait Implementations§
Source§impl Clone for TimePeriod
impl Clone for TimePeriod
Source§fn clone(&self) -> TimePeriod
fn clone(&self) -> TimePeriod
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 moreAuto Trait Implementations§
impl Freeze for TimePeriod
impl RefUnwindSafe for TimePeriod
impl Send for TimePeriod
impl Sync for TimePeriod
impl Unpin for TimePeriod
impl UnwindSafe for TimePeriod
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