Struct aws_sdk_codeguruprofiler::types::FrameMetric
source · #[non_exhaustive]pub struct FrameMetric { /* private fields */ }Expand description
The frame name, metric type, and thread states. These are used to derive the value of the metric for the frame.
Implementations§
source§impl FrameMetric
impl FrameMetric
sourcepub fn frame_name(&self) -> Option<&str>
pub fn frame_name(&self) -> Option<&str>
Name of the method common across the multiple occurrences of a frame in an application profile.
sourcepub fn type(&self) -> Option<&MetricType>
pub fn type(&self) -> Option<&MetricType>
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.
sourcepub fn thread_states(&self) -> Option<&[String]>
pub fn thread_states(&self) -> Option<&[String]>
List of application runtime thread states used to get the counts for a frame a derive a metric value.
source§impl FrameMetric
impl FrameMetric
sourcepub fn builder() -> FrameMetricBuilder
pub fn builder() -> FrameMetricBuilder
Creates a new builder-style object to manufacture FrameMetric.
Trait Implementations§
source§impl Clone for FrameMetric
impl Clone for FrameMetric
source§fn clone(&self) -> FrameMetric
fn clone(&self) -> FrameMetric
Returns a copy 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 PartialEq<FrameMetric> for FrameMetric
impl PartialEq<FrameMetric> for FrameMetric
source§fn eq(&self, other: &FrameMetric) -> bool
fn eq(&self, other: &FrameMetric) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FrameMetric
Auto Trait Implementations§
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