pub struct PathSummary {
pub depth: usize,
pub max_paths: usize,
pub sampled: bool,
pub capped: bool,
pub dropped: Vec<String>,
pub more_dropped: bool,
}Expand description
A nested profile’s limits, and what met them.
Fields§
§depth: usizeThe deepest path described, in steps (ProfileOptions::depth).
max_paths: usizeThe most paths described (ProfileOptions::max_paths).
sampled: boolWhether any path kept fewer of its values than it had.
capped: boolWhether paths were seen past max_paths.
dropped: Vec<String>The first paths seen past it (at most a hundred), sorted.
more_dropped: boolWhether more were seen than dropped names.
Trait Implementations§
Source§impl Clone for PathSummary
impl Clone for PathSummary
Source§impl Debug for PathSummary
impl Debug for PathSummary
Source§impl<'de> Deserialize<'de> for PathSummary
impl<'de> Deserialize<'de> for PathSummary
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
Source§impl PartialEq for PathSummary
impl PartialEq for PathSummary
Source§impl Serialize for PathSummary
impl Serialize for PathSummary
impl StructuralPartialEq for PathSummary
Auto Trait Implementations§
impl Freeze for PathSummary
impl RefUnwindSafe for PathSummary
impl Send for PathSummary
impl Sync for PathSummary
impl Unpin for PathSummary
impl UnsafeUnpin for PathSummary
impl UnwindSafe for PathSummary
Blanket Implementations§
impl<T> Allocation for T
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