#[non_exhaustive]pub struct CreateTableInput {
pub database_name: Option<String>,
pub table_name: Option<String>,
pub retention_properties: Option<RetentionProperties>,
pub tags: Option<Vec<Tag>>,
pub magnetic_store_write_properties: Option<MagneticStoreWriteProperties>,
pub schema: Option<Schema>,
}
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.
retention_properties: Option<RetentionProperties>
The duration for which your time-series data must be stored in the memory store and the magnetic store.
A list of key-value pairs to label the table.
magnetic_store_write_properties: Option<MagneticStoreWriteProperties>
Contains properties to set on the table when enabling magnetic store writes.
schema: Option<Schema>
The schema of the table.
Implementations§
source§impl CreateTableInput
impl CreateTableInput
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 retention_properties(&self) -> Option<&RetentionProperties>
pub fn retention_properties(&self) -> Option<&RetentionProperties>
The duration for which your time-series data must be stored in the memory store and the magnetic store.
A list of key-value pairs to label the table.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn magnetic_store_write_properties(
&self,
) -> Option<&MagneticStoreWriteProperties>
pub fn magnetic_store_write_properties( &self, ) -> Option<&MagneticStoreWriteProperties>
Contains properties to set on the table when enabling magnetic store writes.
source§impl CreateTableInput
impl CreateTableInput
sourcepub fn builder() -> CreateTableInputBuilder
pub fn builder() -> CreateTableInputBuilder
Creates a new builder-style object to manufacture CreateTableInput
.
Trait Implementations§
source§impl Clone for CreateTableInput
impl Clone for CreateTableInput
source§fn clone(&self) -> CreateTableInput
fn clone(&self) -> CreateTableInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTableInput
impl Debug for CreateTableInput
source§impl PartialEq for CreateTableInput
impl PartialEq for CreateTableInput
impl StructuralPartialEq for CreateTableInput
Auto Trait Implementations§
impl Freeze for CreateTableInput
impl RefUnwindSafe for CreateTableInput
impl Send for CreateTableInput
impl Sync for CreateTableInput
impl Unpin for CreateTableInput
impl UnwindSafe for CreateTableInput
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