pub struct ScenarioForecast {
pub choices: BTreeMap<Key, String>,
pub expected_finish_hours: f64,
pub p50_finish_hours: Option<f64>,
pub p80_finish_hours: Option<f64>,
pub p95_finish_hours: Option<f64>,
pub stranded: Vec<Key>,
pub unestimated: Vec<Key>,
}Expand description
Remaining forecast if the open decisions select these options now.
No probability is assigned to a scenario, so scenarios are never merged into one percentile.
Fields§
§choices: BTreeMap<Key, String>Option key selected for each open decision.
expected_finish_hours: f64Deterministic remaining duration of this scenario’s active graph, in elapsed hours.
p50_finish_hours: Option<f64>Median sampled completion of this scenario, when requested.
p80_finish_hours: Option<f64>80th percentile sampled completion of this scenario, when requested.
p95_finish_hours: Option<f64>95th percentile sampled completion of this scenario, when requested.
stranded: Vec<Key>Work that could not proceed in this scenario without a plan change.
unestimated: Vec<Key>Tasks this scenario’s forecast counts as 0 h because they have no estimate, in key order.
Trait Implementations§
Source§impl Clone for ScenarioForecast
impl Clone for ScenarioForecast
Source§impl Debug for ScenarioForecast
impl Debug for ScenarioForecast
Source§impl<'de> Deserialize<'de> for ScenarioForecast
impl<'de> Deserialize<'de> for ScenarioForecast
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
Source§impl PartialEq for ScenarioForecast
impl PartialEq for ScenarioForecast
Source§impl Serialize for ScenarioForecast
impl Serialize for ScenarioForecast
impl StructuralPartialEq for ScenarioForecast
Auto Trait Implementations§
impl Freeze for ScenarioForecast
impl RefUnwindSafe for ScenarioForecast
impl Send for ScenarioForecast
impl Sync for ScenarioForecast
impl Unpin for ScenarioForecast
impl UnsafeUnpin for ScenarioForecast
impl UnwindSafe for ScenarioForecast
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