pub struct TraversalSummary {
pub total_nodes: usize,
pub total_edges: usize,
pub max_depth: usize,
pub nodes_by_role: HashMap<String, usize>,
pub truncated: bool,
pub truncation_reason: Option<String>,
}Expand description
Summary statistics for a traversal
Fields§
§total_nodes: usize§total_edges: usize§max_depth: usize§nodes_by_role: HashMap<String, usize>§truncated: bool§truncation_reason: Option<String>Trait Implementations§
Source§impl Clone for TraversalSummary
impl Clone for TraversalSummary
Source§fn clone(&self) -> TraversalSummary
fn clone(&self) -> TraversalSummary
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 TraversalSummary
impl Debug for TraversalSummary
Source§impl Default for TraversalSummary
impl Default for TraversalSummary
Source§fn default() -> TraversalSummary
fn default() -> TraversalSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TraversalSummary
impl<'de> Deserialize<'de> for TraversalSummary
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 TraversalSummary
impl RefUnwindSafe for TraversalSummary
impl Send for TraversalSummary
impl Sync for TraversalSummary
impl Unpin for TraversalSummary
impl UnwindSafe for TraversalSummary
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