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 ==
.impl StructuralPartialEq for TimestreamDimension
Auto Trait Implementations§
impl Freeze for TimestreamDimension
impl RefUnwindSafe for TimestreamDimension
impl Send for TimestreamDimension
impl Sync for TimestreamDimension
impl Unpin for TimestreamDimension
impl UnwindSafe for TimestreamDimension
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more