pub struct BridgeNode {
pub id: String,
pub label: String,
pub total_edges: usize,
pub cross_community_edges: usize,
pub bridge_ratio: f64,
pub communities_touched: Vec<usize>,
}Expand description
A node that bridges multiple communities.
Fields§
§id: String§label: String§total_edges: usize§cross_community_edges: usize§bridge_ratio: f64Ratio of cross-community edges to total edges (0.0–1.0).
communities_touched: Vec<usize>Trait Implementations§
Source§impl Clone for BridgeNode
impl Clone for BridgeNode
Source§fn clone(&self) -> BridgeNode
fn clone(&self) -> BridgeNode
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 BridgeNode
impl Debug for BridgeNode
Source§impl<'de> Deserialize<'de> for BridgeNode
impl<'de> Deserialize<'de> for BridgeNode
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
Auto Trait Implementations§
impl Freeze for BridgeNode
impl RefUnwindSafe for BridgeNode
impl Send for BridgeNode
impl Sync for BridgeNode
impl Unpin for BridgeNode
impl UnsafeUnpin for BridgeNode
impl UnwindSafe for BridgeNode
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