pub struct TreeStats {
pub total_nodes: usize,
pub root_count: usize,
pub category_count: usize,
pub memory_count: usize,
pub max_depth: u32,
}Expand description
Statistics about the graph tree
Fields§
§total_nodes: usizeTotal number of nodes
root_count: usizeNumber of root nodes
category_count: usizeNumber of categories
memory_count: usizeNumber of memory leaf nodes
max_depth: u32Maximum tree depth
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TreeStats
impl<'de> Deserialize<'de> for TreeStats
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 TreeStats
impl RefUnwindSafe for TreeStats
impl Send for TreeStats
impl Sync for TreeStats
impl Unpin for TreeStats
impl UnsafeUnpin for TreeStats
impl UnwindSafe for TreeStats
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