#[non_exhaustive]pub struct WriteRecordsInput {
pub database_name: Option<String>,
pub table_name: Option<String>,
pub common_attributes: Option<Record>,
pub records: Option<Vec<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.database_name: Option<String>
The name of the Timestream database.
table_name: Option<String>
The name of the Timestream table.
common_attributes: Option<Record>
A record that contains the common measure, dimension, time, and version attributes shared across all the records in the request. The measure and dimension attributes specified will be merged with the measure and dimension attributes in the records object when the data is written into Timestream. Dimensions may not overlap, or a ValidationException
will be thrown. In other words, a record must contain dimensions with unique names.
records: Option<Vec<Record>>
An array of records that contain the unique measure, dimension, time, and version attributes for each time-series data point.
Implementations§
source§impl WriteRecordsInput
impl WriteRecordsInput
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the Timestream database.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the Timestream table.
sourcepub fn common_attributes(&self) -> Option<&Record>
pub fn common_attributes(&self) -> Option<&Record>
A record that contains the common measure, dimension, time, and version attributes shared across all the records in the request. The measure and dimension attributes specified will be merged with the measure and dimension attributes in the records object when the data is written into Timestream. Dimensions may not overlap, or a ValidationException
will be thrown. In other words, a record must contain dimensions with unique names.
source§impl WriteRecordsInput
impl WriteRecordsInput
sourcepub fn builder() -> WriteRecordsInputBuilder
pub fn builder() -> WriteRecordsInputBuilder
Creates a new builder-style object to manufacture WriteRecordsInput
.
Trait Implementations§
source§impl Clone for WriteRecordsInput
impl Clone for WriteRecordsInput
source§fn clone(&self) -> WriteRecordsInput
fn clone(&self) -> WriteRecordsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WriteRecordsInput
impl Debug for WriteRecordsInput
source§impl PartialEq for WriteRecordsInput
impl PartialEq for WriteRecordsInput
impl StructuralPartialEq for WriteRecordsInput
Auto Trait Implementations§
impl Freeze for WriteRecordsInput
impl RefUnwindSafe for WriteRecordsInput
impl Send for WriteRecordsInput
impl Sync for WriteRecordsInput
impl Unpin for WriteRecordsInput
impl UnwindSafe for WriteRecordsInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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