Struct aws_sdk_iot::types::MetricDimension
source · #[non_exhaustive]pub struct MetricDimension { /* private fields */ }Expand description
The dimension of a metric.
Implementations§
source§impl MetricDimension
impl MetricDimension
sourcepub fn dimension_name(&self) -> Option<&str>
pub fn dimension_name(&self) -> Option<&str>
A unique identifier for the dimension.
sourcepub fn operator(&self) -> Option<&DimensionValueOperator>
pub fn operator(&self) -> Option<&DimensionValueOperator>
Defines how the dimensionValues of a dimension are interpreted. For example, for dimension type TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one of the topic filters. With NOT_IN operator, a message will be counted only if it doesn't match any of the topic filters. The operator is optional: if it's not provided (is null), it will be interpreted as IN.
source§impl MetricDimension
impl MetricDimension
sourcepub fn builder() -> MetricDimensionBuilder
pub fn builder() -> MetricDimensionBuilder
Creates a new builder-style object to manufacture MetricDimension.
Trait Implementations§
source§impl Clone for MetricDimension
impl Clone for MetricDimension
source§fn clone(&self) -> MetricDimension
fn clone(&self) -> MetricDimension
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 MetricDimension
impl Debug for MetricDimension
source§impl PartialEq<MetricDimension> for MetricDimension
impl PartialEq<MetricDimension> for MetricDimension
source§fn eq(&self, other: &MetricDimension) -> bool
fn eq(&self, other: &MetricDimension) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MetricDimension
Auto Trait Implementations§
impl RefUnwindSafe for MetricDimension
impl Send for MetricDimension
impl Sync for MetricDimension
impl Unpin for MetricDimension
impl UnwindSafe for MetricDimension
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