pub struct TraversalResult {
pub path: String,
pub name: String,
pub depth: usize,
pub links: Vec<String>,
}Expand description
A note returned from graph traversal, with its depth from the start.
Fields§
§path: StringRelative path.
name: StringNote name.
depth: usizeDepth from the start note (0 = the start note itself).
links: Vec<String>Outgoing wikilinks.
Trait Implementations§
Source§impl Clone for TraversalResult
impl Clone for TraversalResult
Source§fn clone(&self) -> TraversalResult
fn clone(&self) -> TraversalResult
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 TraversalResult
impl Debug for TraversalResult
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