Struct aws_sdk_timestreamwrite::types::Dimension
source · #[non_exhaustive]pub struct Dimension {
pub name: Option<String>,
pub value: Option<String>,
pub dimension_value_type: Option<DimensionValueType>,
}
Expand description
Represents the metadata attributes of the time series. For example, the name and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
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.name: Option<String>
Dimension represents the metadata attributes of the time series. For example, the name and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on dimension names, see Naming Constraints.
value: Option<String>
The value of the dimension.
dimension_value_type: Option<DimensionValueType>
The data type of the dimension for the time-series data point.
Implementations§
source§impl Dimension
impl Dimension
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Dimension represents the metadata attributes of the time series. For example, the name and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on dimension names, see Naming Constraints.
sourcepub fn dimension_value_type(&self) -> Option<&DimensionValueType>
pub fn dimension_value_type(&self) -> Option<&DimensionValueType>
The data type of the dimension for the time-series data point.