Struct aws_sdk_iot::model::MetricDimension [−][src]
#[non_exhaustive]pub struct MetricDimension {
pub dimension_name: Option<String>,
pub operator: Option<DimensionValueOperator>,
}
Expand description
The dimension of a metric.
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.dimension_name: Option<String>
A unique identifier for the dimension.
operator: 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
.
Implementations
A unique identifier for the dimension.
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
.
Creates a new builder-style object to manufacture MetricDimension
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more