Struct aws_sdk_iot::types::TimestreamDimension
source · #[non_exhaustive]pub struct TimestreamDimension {
pub name: String,
pub value: String,
}
Expand description
Metadata attributes of the time series that are written in each measure 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: String
The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
, measure_value
, or time
. These names are reserved. Dimension names cannot start with ts_
or measure_value
and they cannot contain the colon (:
) character.
value: String
The value to write in this column of the database record.
Implementations§
source§impl TimestreamDimension
impl TimestreamDimension
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
, measure_value
, or time
. These names are reserved. Dimension names cannot start with ts_
or measure_value
and they cannot contain the colon (:
) character.
source§impl TimestreamDimension
impl TimestreamDimension
sourcepub fn builder() -> TimestreamDimensionBuilder
pub fn builder() -> TimestreamDimensionBuilder
Creates a new builder-style object to manufacture TimestreamDimension
.
Trait Implementations§
source§impl Clone for TimestreamDimension
impl Clone for TimestreamDimension
source§fn clone(&self) -> TimestreamDimension
fn clone(&self) -> TimestreamDimension
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TimestreamDimension
impl Debug for TimestreamDimension
source§impl PartialEq for TimestreamDimension
impl PartialEq for TimestreamDimension
source§fn eq(&self, other: &TimestreamDimension) -> bool
fn eq(&self, other: &TimestreamDimension) -> bool
self
and other
values to be equal, and is used
by ==
.