pub struct Risk {
pub id: RiskId,
pub key: Key,
pub project: ProjectId,
pub description: String,
pub probability: f64,
pub impact: RiskImpact,
pub related_work: BTreeSet<WorkItemId>,
pub mitigation: Option<String>,
}Expand description
Identified uncertainty with probability and related work.
Fields§
§id: RiskIdStable entity identity; it must match its containing map key.
key: KeyHuman-readable key, unique in this entity category.
project: ProjectIdProject that owns this entity.
description: StringRisk event or condition.
probability: f64Probability in [0, 1].
impact: RiskImpactQualitative consequence if the risk occurs.
Work affected by the risk.
mitigation: Option<String>Optional response to reduce the risk.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Risk
impl<'de> Deserialize<'de> for Risk
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 StructuralPartialEq for Risk
Auto Trait Implementations§
impl Freeze for Risk
impl RefUnwindSafe for Risk
impl Send for Risk
impl Sync for Risk
impl Unpin for Risk
impl UnsafeUnpin for Risk
impl UnwindSafe for Risk
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