Struct aws_sdk_iot::model::MetricDimension
source · [−]#[non_exhaustive]pub struct MetricDimension { /* private fields */ }Expand description
The dimension of a metric.
Implementations
sourceimpl 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.
sourceimpl MetricDimension
impl MetricDimension
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MetricDimension.
Trait Implementations
sourceimpl Clone for MetricDimension
impl Clone for MetricDimension
sourcefn clone(&self) -> MetricDimension
fn clone(&self) -> MetricDimension
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MetricDimension
impl Debug for MetricDimension
sourceimpl PartialEq<MetricDimension> for MetricDimension
impl PartialEq<MetricDimension> for MetricDimension
sourcefn eq(&self, other: &MetricDimension) -> bool
fn eq(&self, other: &MetricDimension) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more