Struct aws_sdk_timestreamwrite::types::MeasureValue
source · #[non_exhaustive]pub struct MeasureValue {
pub name: Option<String>,
pub value: Option<String>,
pub type: Option<MeasureValueType>,
}
Expand description
Represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures. MeasureValue has both name and value.
MeasureValue is only allowed for type MULTI
. Using MULTI
type, you can pass multiple data attributes associated with the same time series in a single record
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>
The name of the MeasureValue.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
value: Option<String>
The value for the MeasureValue. For information, see Data types.
type: Option<MeasureValueType>
Contains the data type of the MeasureValue for the time-series data point.
Implementations§
source§impl MeasureValue
impl MeasureValue
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the MeasureValue.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
sourcepub fn value(&self) -> Option<&str>
pub fn value(&self) -> Option<&str>
The value for the MeasureValue. For information, see Data types.
sourcepub fn type(&self) -> Option<&MeasureValueType>
pub fn type(&self) -> Option<&MeasureValueType>
Contains the data type of the MeasureValue for the time-series data point.
source§impl MeasureValue
impl MeasureValue
sourcepub fn builder() -> MeasureValueBuilder
pub fn builder() -> MeasureValueBuilder
Creates a new builder-style object to manufacture MeasureValue
.
Trait Implementations§
source§impl Clone for MeasureValue
impl Clone for MeasureValue
source§fn clone(&self) -> MeasureValue
fn clone(&self) -> MeasureValue
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MeasureValue
impl Debug for MeasureValue
source§impl PartialEq<MeasureValue> for MeasureValue
impl PartialEq<MeasureValue> for MeasureValue
source§fn eq(&self, other: &MeasureValue) -> bool
fn eq(&self, other: &MeasureValue) -> bool
self
and other
values to be equal, and is used
by ==
.