Struct aws_sdk_codeguruprofiler::types::FrameMetric
source · #[non_exhaustive]pub struct FrameMetric {
pub frame_name: String,
pub type: MetricType,
pub thread_states: Vec<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 (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.frame_name: String
Name of the method common across the multiple occurrences of a frame in an application profile.
type: 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.
thread_states: Vec<String>
List of application runtime thread states used to get the counts for a frame a derive a metric value.
Implementations§
source§impl FrameMetric
impl FrameMetric
sourcepub fn frame_name(&self) -> &str
pub fn frame_name(&self) -> &str
Name of the method common across the multiple occurrences of a frame in an application profile.
sourcepub fn type(&self) -> &MetricType
pub fn type(&self) -> &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) -> &[String]
pub fn thread_states(&self) -> &[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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FrameMetric
impl Debug for FrameMetric
source§impl PartialEq for FrameMetric
impl PartialEq 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more