pub struct StructuralPatterns {
pub hubs: Vec<NodeInfo>,
pub authorities: Vec<NodeInfo>,
pub bottlenecks: Vec<NodeInfo>,
pub bridges: Vec<NodeInfo>,
pub isolated_nodes: Vec<NodeId>,
pub dangling_nodes: Vec<NodeId>,
pub leaf_nodes: Vec<NodeId>,
}
Expand description
Structural patterns and notable nodes
Fields§
§hubs: Vec<NodeInfo>
Hub nodes (high out-degree)
Authority nodes (high in-degree)
bottlenecks: Vec<NodeInfo>
Bottleneck nodes (high betweenness centrality estimate)
bridges: Vec<NodeInfo>
Bridge nodes (critical for connectivity)
isolated_nodes: Vec<NodeId>
Isolated nodes (no connections)
dangling_nodes: Vec<NodeId>
Dangling nodes (no outgoing edges)
leaf_nodes: Vec<NodeId>
Leaf nodes (no incoming edges, but have outgoing)
Trait Implementations§
Source§impl Clone for StructuralPatterns
impl Clone for StructuralPatterns
Source§fn clone(&self) -> StructuralPatterns
fn clone(&self) -> StructuralPatterns
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 StructuralPatterns
impl Debug for StructuralPatterns
Source§impl Default for StructuralPatterns
impl Default for StructuralPatterns
Source§fn default() -> StructuralPatterns
fn default() -> StructuralPatterns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StructuralPatterns
impl<'de> Deserialize<'de> for StructuralPatterns
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
Source§impl PartialEq for StructuralPatterns
impl PartialEq for StructuralPatterns
Source§impl Serialize for StructuralPatterns
impl Serialize for StructuralPatterns
impl StructuralPartialEq for StructuralPatterns
Auto Trait Implementations§
impl Freeze for StructuralPatterns
impl RefUnwindSafe for StructuralPatterns
impl Send for StructuralPatterns
impl Sync for StructuralPatterns
impl Unpin for StructuralPatterns
impl UnwindSafe for StructuralPatterns
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