pub struct Period {
pub includeddays: i32,
pub calendardays: i32,
pub skippeddays: i32,
pub startdate: Time,
pub enddate: Time,
pub weekdays: Weekdays,
pub holidays: BusinessHoliday,
}Expand description
Calculated results for a requested period.
Fields§
§includeddays: i32Number of days calculated.
calendardays: i32Number of calendar days in calculated period.
skippeddays: i32Number of days which was skipped in the calculated period.
startdate: TimeThe date the calculation started from.
enddate: TimeThe date the calculation ended on.
weekdays: WeekdaysThe spread of excluded or included weekdays in includdeddays.
holidays: BusinessHolidayHolidays which occur in the requested period.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Period
impl<'de> Deserialize<'de> for Period
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Period
impl RefUnwindSafe for Period
impl Send for Period
impl Sync for Period
impl Unpin for Period
impl UnwindSafe for Period
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