pub struct CapacityPlanningOutput {
pub assignments: Vec<ResourceAssignment>,
pub team_utilization: Vec<TeamUtilization>,
pub period_fulfillment: Vec<PeriodFulfillment>,
pub summary: CapacityPlanSummary,
}Expand description
Output for capacity planning optimization
Fields§
§assignments: Vec<ResourceAssignment>Resource assignments
team_utilization: Vec<TeamUtilization>Per-team utilization metrics
period_fulfillment: Vec<PeriodFulfillment>Per-period fulfillment metrics
summary: CapacityPlanSummarySummary statistics
Implementations§
Source§impl CapacityPlanningOutput
impl CapacityPlanningOutput
Sourcepub fn infeasible(reason: &str) -> Self
pub fn infeasible(reason: &str) -> Self
Create output when no feasible plan exists
Sourcepub fn all_demands_met(&self) -> bool
pub fn all_demands_met(&self) -> bool
Check if all demands are met
Sourcepub fn has_overallocation(&self) -> bool
pub fn has_overallocation(&self) -> bool
Check if any team is over capacity
Trait Implementations§
Source§impl Clone for CapacityPlanningOutput
impl Clone for CapacityPlanningOutput
Source§fn clone(&self) -> CapacityPlanningOutput
fn clone(&self) -> CapacityPlanningOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CapacityPlanningOutput
impl Debug for CapacityPlanningOutput
Source§impl Default for CapacityPlanningOutput
impl Default for CapacityPlanningOutput
Source§fn default() -> CapacityPlanningOutput
fn default() -> CapacityPlanningOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CapacityPlanningOutput
impl<'de> Deserialize<'de> for CapacityPlanningOutput
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 CapacityPlanningOutput
impl RefUnwindSafe for CapacityPlanningOutput
impl Send for CapacityPlanningOutput
impl Sync for CapacityPlanningOutput
impl Unpin for CapacityPlanningOutput
impl UnsafeUnpin for CapacityPlanningOutput
impl UnwindSafe for CapacityPlanningOutput
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