Struct aws_sdk_iot::types::MetricToRetain
source · #[non_exhaustive]pub struct MetricToRetain { /* private fields */ }
Expand description
The metric you want to retain. Dimensions are optional.
Implementations§
source§impl MetricToRetain
impl MetricToRetain
sourcepub fn metric_dimension(&self) -> Option<&MetricDimension>
pub fn metric_dimension(&self) -> Option<&MetricDimension>
The dimension of a metric. This can't be used with custom metrics.
source§impl MetricToRetain
impl MetricToRetain
sourcepub fn builder() -> MetricToRetainBuilder
pub fn builder() -> MetricToRetainBuilder
Creates a new builder-style object to manufacture MetricToRetain
.
Trait Implementations§
source§impl Clone for MetricToRetain
impl Clone for MetricToRetain
source§fn clone(&self) -> MetricToRetain
fn clone(&self) -> MetricToRetain
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 MetricToRetain
impl Debug for MetricToRetain
source§impl PartialEq<MetricToRetain> for MetricToRetain
impl PartialEq<MetricToRetain> for MetricToRetain
source§fn eq(&self, other: &MetricToRetain) -> bool
fn eq(&self, other: &MetricToRetain) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MetricToRetain
Auto Trait Implementations§
impl RefUnwindSafe for MetricToRetain
impl Send for MetricToRetain
impl Sync for MetricToRetain
impl Unpin for MetricToRetain
impl UnwindSafe for MetricToRetain
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