Struct aws_sdk_timestreamquery::types::DimensionMapping
source · #[non_exhaustive]pub struct DimensionMapping {
pub name: String,
pub dimension_value_type: DimensionValueType,
}
Expand description
This type is used to map column(s) from the query result to a dimension in the destination table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
Column name from query result.
dimension_value_type: DimensionValueType
Type for the dimension.
Implementations§
source§impl DimensionMapping
impl DimensionMapping
sourcepub fn dimension_value_type(&self) -> &DimensionValueType
pub fn dimension_value_type(&self) -> &DimensionValueType
Type for the dimension.
source§impl DimensionMapping
impl DimensionMapping
sourcepub fn builder() -> DimensionMappingBuilder
pub fn builder() -> DimensionMappingBuilder
Creates a new builder-style object to manufacture DimensionMapping
.
Trait Implementations§
source§impl Clone for DimensionMapping
impl Clone for DimensionMapping
source§fn clone(&self) -> DimensionMapping
fn clone(&self) -> DimensionMapping
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DimensionMapping
impl Debug for DimensionMapping
source§impl PartialEq for DimensionMapping
impl PartialEq for DimensionMapping
source§fn eq(&self, other: &DimensionMapping) -> bool
fn eq(&self, other: &DimensionMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DimensionMapping
Auto Trait Implementations§
impl Freeze for DimensionMapping
impl RefUnwindSafe for DimensionMapping
impl Send for DimensionMapping
impl Sync for DimensionMapping
impl Unpin for DimensionMapping
impl UnwindSafe for DimensionMapping
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.