pub struct SubGraph {
pub nodes: Vec<CognitiveEvent>,
pub edges: Vec<Edge>,
pub center_id: u64,
}Expand description
A subgraph extracted around a center node.
Fields§
§nodes: Vec<CognitiveEvent>All nodes in the subgraph.
edges: Vec<Edge>All edges in the subgraph.
center_id: u64The center node ID.
Auto Trait Implementations§
impl Freeze for SubGraph
impl RefUnwindSafe for SubGraph
impl Send for SubGraph
impl Sync for SubGraph
impl Unpin for SubGraph
impl UnsafeUnpin for SubGraph
impl UnwindSafe for SubGraph
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