pub struct Hotspots {
pub by_subscriber_count: Vec<NodeProfile>,
pub by_dep_count: Vec<NodeProfile>,
}Expand description
Top-N hotspots returned by GraphProfileResult::hotspots. D284
dropped the by_value_size ranking (see [crate::profile] module
docstring for the rationale). JSON keys are camelCase
(bySubscriberCount / byDepCount) to match the cross-arm parity
wire contract.
Fields§
§by_subscriber_count: Vec<NodeProfile>Top nodes by external subscriber count, descending.
by_dep_count: Vec<NodeProfile>Top nodes by dependency count, descending.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hotspots
impl RefUnwindSafe for Hotspots
impl Send for Hotspots
impl Sync for Hotspots
impl Unpin for Hotspots
impl UnsafeUnpin for Hotspots
impl UnwindSafe for Hotspots
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