pub struct ConnectivityReport {
pub spec_name: String,
pub node_count: usize,
pub edge_count: usize,
pub density: f64,
pub components: Vec<Vec<String>>,
pub isolated_nodes: Vec<String>,
pub hub_nodes: Vec<HubNode>,
pub bridge_nodes: Vec<BridgeNode>,
pub cycles: Vec<Cycle>,
pub acyclic_violations: usize,
pub relation_type_counts: HashMap<String, usize>,
}Expand description
Graph metrics from connectivity analysis.
Fields§
§spec_name: String§node_count: usize§edge_count: usize§density: f64§components: Vec<Vec<String>>§isolated_nodes: Vec<String>§hub_nodes: Vec<HubNode>§bridge_nodes: Vec<BridgeNode>§cycles: Vec<Cycle>§acyclic_violations: usize§relation_type_counts: HashMap<String, usize>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnectivityReport
impl RefUnwindSafe for ConnectivityReport
impl Send for ConnectivityReport
impl Sync for ConnectivityReport
impl Unpin for ConnectivityReport
impl UnsafeUnpin for ConnectivityReport
impl UnwindSafe for ConnectivityReport
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> 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