pub struct TraversalResult {
pub visited: Vec<u64>,
pub edges_traversed: Vec<Edge>,
pub depths: HashMap<u64, u32>,
}Expand description
Result of a traversal query.
Fields§
§visited: Vec<u64>Ordered list of visited node IDs (BFS order).
edges_traversed: Vec<Edge>The edges that were traversed.
depths: HashMap<u64, u32>Depth at which each node was found.
Auto Trait Implementations§
impl Freeze for TraversalResult
impl RefUnwindSafe for TraversalResult
impl Send for TraversalResult
impl Sync for TraversalResult
impl Unpin for TraversalResult
impl UnsafeUnpin for TraversalResult
impl UnwindSafe for TraversalResult
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