#[non_exhaustive]pub struct NodeSnapshot {
pub name: String,
pub target: String,
pub module_path: Option<String>,
pub line: Option<u32>,
pub total_calls: u64,
pub wall: TimingStats,
pub active: TimingStats,
pub suspended: TimingStats,
pub children: Vec<NodeSnapshot>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§target: String§module_path: Option<String>§line: Option<u32>§total_calls: u64§wall: TimingStats§active: TimingStats§suspended: TimingStats§children: Vec<NodeSnapshot>Trait Implementations§
Source§impl Clone for NodeSnapshot
impl Clone for NodeSnapshot
Source§fn clone(&self) -> NodeSnapshot
fn clone(&self) -> NodeSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeSnapshot
impl Debug for NodeSnapshot
impl Eq for NodeSnapshot
Source§impl PartialEq for NodeSnapshot
impl PartialEq for NodeSnapshot
Source§impl Serialize for NodeSnapshot
impl Serialize for NodeSnapshot
impl StructuralPartialEq for NodeSnapshot
Auto Trait Implementations§
impl Freeze for NodeSnapshot
impl RefUnwindSafe for NodeSnapshot
impl Send for NodeSnapshot
impl Sync for NodeSnapshot
impl Unpin for NodeSnapshot
impl UnsafeUnpin for NodeSnapshot
impl UnwindSafe for NodeSnapshot
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