Skip to content
YosoiDocs

TreeEntry

yosoi::map::TreeEntry

pub struct TreeEntry

One page’s position in the deterministic rooted discovery forest.

Source: crates/yosoi/src/internal/map/mod.rs:373

SDK re-export: Source: crates/yosoi/src/map.rs:10

pub depth: Option<u16>

Shortest established rooted link depth, absent when no rooted path was found.

Source: crates/yosoi/src/internal/map/mod.rs:379

pub page: url::Url

Normalized page URL retained in the inventory.

Source: crates/yosoi/src/internal/map/mod.rs:375

pub parent: Option<url::Url>

Selected rooted predecessor, absent for roots and unattached observations.

Source: crates/yosoi/src/internal/map/mod.rs:377

Clone
fn clone(&self) -> yosoi::map::TreeEntry

Source: crates/yosoi/src/internal/map/mod.rs:372

Debug
fn fmt(&self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

Source: crates/yosoi/src/internal/map/mod.rs:372

Serialize
fn serialize<__S>(&self, __serializer: __S) -> _serde::__private229::Result<<__S as >::Ok, <__S as >::Error> where __S: _serde::Serializer

Source: crates/yosoi/src/internal/map/mod.rs:372