pub struct ThreePointEstimate {
pub optimistic_m: u32,
pub most_likely_m: u32,
pub pessimistic_m: u32,
}Expand description
Three-point PERT duration/effort estimate in integer minutes.
Fields§
§optimistic_m: u32§most_likely_m: u32§pessimistic_m: u32Implementations§
Source§impl ThreePointEstimate
impl ThreePointEstimate
Sourcepub const fn new(
optimistic_m: u32,
most_likely_m: u32,
pessimistic_m: u32,
) -> Self
pub const fn new( optimistic_m: u32, most_likely_m: u32, pessimistic_m: u32, ) -> Self
Construct a new three-point estimate.
Sourcepub const fn pert_expected_minutes(&self) -> u32
pub const fn pert_expected_minutes(&self) -> u32
Expected PERT duration (O + 4M + P) / 6 in integer minutes.
Sourcepub const fn pert_std_dev_minutes(&self) -> u32
pub const fn pert_std_dev_minutes(&self) -> u32
Standard deviation (P - O) / 6 in integer minutes.
Trait Implementations§
Source§impl Clone for ThreePointEstimate
impl Clone for ThreePointEstimate
impl Copy for ThreePointEstimate
Source§impl Debug for ThreePointEstimate
impl Debug for ThreePointEstimate
Source§impl<'de> Deserialize<'de> for ThreePointEstimate
impl<'de> Deserialize<'de> for ThreePointEstimate
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
impl Eq for ThreePointEstimate
Source§impl PartialEq for ThreePointEstimate
impl PartialEq for ThreePointEstimate
Source§impl Serialize for ThreePointEstimate
impl Serialize for ThreePointEstimate
impl StructuralPartialEq for ThreePointEstimate
Auto Trait Implementations§
impl Freeze for ThreePointEstimate
impl RefUnwindSafe for ThreePointEstimate
impl Send for ThreePointEstimate
impl Sync for ThreePointEstimate
impl Unpin for ThreePointEstimate
impl UnsafeUnpin for ThreePointEstimate
impl UnwindSafe for ThreePointEstimate
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