pub struct BusFactorAnalysis {
pub entries: Vec<BusFactorEntry>,
pub high_risk_count: usize,
pub medium_risk_count: usize,
pub total_paths_analyzed: usize,
}Expand description
Bus factor analysis result
Fields§
§entries: Vec<BusFactorEntry>Entry list (sorted by risk)
high_risk_count: usizeNumber of high risk areas
medium_risk_count: usizeNumber of medium risk areas
total_paths_analyzed: usizeNumber of paths analyzed
Implementations§
Source§impl BusFactorAnalysis
impl BusFactorAnalysis
Sourcepub fn entry_count(&self) -> usize
pub fn entry_count(&self) -> usize
Get entry count
Trait Implementations§
Source§impl Clone for BusFactorAnalysis
impl Clone for BusFactorAnalysis
Source§fn clone(&self) -> BusFactorAnalysis
fn clone(&self) -> BusFactorAnalysis
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 BusFactorAnalysis
impl Debug for BusFactorAnalysis
Source§impl Default for BusFactorAnalysis
impl Default for BusFactorAnalysis
Source§fn default() -> BusFactorAnalysis
fn default() -> BusFactorAnalysis
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BusFactorAnalysis
impl RefUnwindSafe for BusFactorAnalysis
impl Send for BusFactorAnalysis
impl Sync for BusFactorAnalysis
impl Unpin for BusFactorAnalysis
impl UnsafeUnpin for BusFactorAnalysis
impl UnwindSafe for BusFactorAnalysis
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more