pub struct RiskAssessmentReport {
pub workflow_id: String,
pub workflow_name: String,
pub overall_risk_score: u8,
pub step_assessments: Vec<RiskAssessment>,
pub safety_violations: Vec<SafetyViolation>,
pub generated_at: DateTime<Utc>,
}Expand description
Risk assessment report for a completed workflow
Fields§
§workflow_id: StringWorkflow identifier
workflow_name: StringWorkflow name
overall_risk_score: u8Overall risk score (average of all steps)
step_assessments: Vec<RiskAssessment>Risk assessments for each step
safety_violations: Vec<SafetyViolation>Safety constraint violations (if any)
generated_at: DateTime<Utc>Report generation timestamp
Trait Implementations§
Source§impl Clone for RiskAssessmentReport
impl Clone for RiskAssessmentReport
Source§fn clone(&self) -> RiskAssessmentReport
fn clone(&self) -> RiskAssessmentReport
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 RiskAssessmentReport
impl Debug for RiskAssessmentReport
Source§impl<'de> Deserialize<'de> for RiskAssessmentReport
impl<'de> Deserialize<'de> for RiskAssessmentReport
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 RiskAssessmentReport
impl RefUnwindSafe for RiskAssessmentReport
impl Send for RiskAssessmentReport
impl Sync for RiskAssessmentReport
impl Unpin for RiskAssessmentReport
impl UnwindSafe for RiskAssessmentReport
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