pub struct ImpactedUnit {
pub unit_id: u64,
pub depth: u32,
pub risk_score: f32,
pub has_tests: bool,
}Expand description
A single impacted unit.
Fields§
§unit_id: u64The affected unit.
depth: u32Distance from origin.
risk_score: f32Risk score (0.0 = low, 1.0 = high).
has_tests: boolWhether this unit has test coverage.
Trait Implementations§
Source§impl Clone for ImpactedUnit
impl Clone for ImpactedUnit
Source§fn clone(&self) -> ImpactedUnit
fn clone(&self) -> ImpactedUnit
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 ImpactedUnit
impl RefUnwindSafe for ImpactedUnit
impl Send for ImpactedUnit
impl Sync for ImpactedUnit
impl Unpin for ImpactedUnit
impl UnsafeUnpin for ImpactedUnit
impl UnwindSafe for ImpactedUnit
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