pub struct RiskFactors {
pub impact: u8,
pub reversibility: u8,
pub complexity: u8,
}Expand description
Risk factors for a workflow step
Fields§
§impact: u8Impact score (0-100): potential for data loss or system damage
reversibility: u8Reversibility score (0-100): ability to undo the operation
complexity: u8Complexity score (0-100): number of dependencies and interactions
Trait Implementations§
Source§impl Clone for RiskFactors
impl Clone for RiskFactors
Source§fn clone(&self) -> RiskFactors
fn clone(&self) -> RiskFactors
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 RiskFactors
impl Debug for RiskFactors
Source§impl Default for RiskFactors
impl Default for RiskFactors
Source§fn default() -> RiskFactors
fn default() -> RiskFactors
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RiskFactors
impl<'de> Deserialize<'de> for RiskFactors
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 RiskFactors
impl RefUnwindSafe for RiskFactors
impl Send for RiskFactors
impl Sync for RiskFactors
impl Unpin for RiskFactors
impl UnwindSafe for RiskFactors
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