pub struct FrameMetric {
pub frame_name: String,
pub thread_states: Vec<String>,
pub type_: String,
}Expand description
The frame name, metric type, and thread states. These are used to derive the value of the metric for the frame.
Fields§
§frame_name: StringName of the method common across the multiple occurrences of a frame in an application profile.
thread_states: Vec<String>List of application runtime thread states used to get the counts for a frame a derive a metric value.
type_: String A type of aggregation that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurrences of all frames in a profile.
Trait Implementations§
Source§impl Clone for FrameMetric
impl Clone for FrameMetric
Source§fn clone(&self) -> FrameMetric
fn clone(&self) -> FrameMetric
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 FrameMetric
impl Debug for FrameMetric
Source§impl Default for FrameMetric
impl Default for FrameMetric
Source§fn default() -> FrameMetric
fn default() -> FrameMetric
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FrameMetric
impl<'de> Deserialize<'de> for FrameMetric
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 FrameMetric
impl PartialEq for FrameMetric
Source§impl Serialize for FrameMetric
impl Serialize for FrameMetric
impl StructuralPartialEq for FrameMetric
Auto Trait Implementations§
impl Freeze for FrameMetric
impl RefUnwindSafe for FrameMetric
impl Send for FrameMetric
impl Sync for FrameMetric
impl Unpin for FrameMetric
impl UnwindSafe for FrameMetric
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