pub struct CalendarImpact {
pub calendar_id: CalendarId,
pub non_working_days: u32,
pub weekend_days: u32,
pub holiday_days: u32,
pub total_delay_days: i64,
pub description: String,
}Expand description
Impact of calendar on task scheduling
Fields§
§calendar_id: CalendarIdCalendar ID used for this task
non_working_days: u32Number of non-working days in task period
weekend_days: u32Number of weekend days in task period
holiday_days: u32Number of holidays in task period
total_delay_days: i64Total calendar delay (days added due to non-working time)
description: StringHuman-readable impact description
Trait Implementations§
Source§impl Clone for CalendarImpact
impl Clone for CalendarImpact
Source§fn clone(&self) -> CalendarImpact
fn clone(&self) -> CalendarImpact
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 CalendarImpact
impl Debug for CalendarImpact
Source§impl Default for CalendarImpact
impl Default for CalendarImpact
Source§fn default() -> CalendarImpact
fn default() -> CalendarImpact
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CalendarImpact
impl RefUnwindSafe for CalendarImpact
impl Send for CalendarImpact
impl Sync for CalendarImpact
impl Unpin for CalendarImpact
impl UnwindSafe for CalendarImpact
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