pub struct ImpactAnalysis {
pub affected_source: Vec<NodeInfo>,
pub affected_tests: Vec<NodeInfo>,
pub risk_level: RiskLevel,
pub summary: String,
}Expand description
Analyze what’s affected by changing given files.
Fields§
§affected_source: Vec<NodeInfo>Source nodes directly or transitively affected
affected_tests: Vec<NodeInfo>Test nodes that exercise the changed code
risk_level: RiskLevelRisk level (low, medium, high, critical)
summary: StringHuman-readable summary
Trait Implementations§
Source§impl Clone for ImpactAnalysis
impl Clone for ImpactAnalysis
Source§fn clone(&self) -> ImpactAnalysis
fn clone(&self) -> ImpactAnalysis
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 moreAuto Trait Implementations§
impl Freeze for ImpactAnalysis
impl RefUnwindSafe for ImpactAnalysis
impl Send for ImpactAnalysis
impl Sync for ImpactAnalysis
impl Unpin for ImpactAnalysis
impl UnsafeUnpin for ImpactAnalysis
impl UnwindSafe for ImpactAnalysis
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