Struct aws_sdk_timestreamwrite::types::Table
source · #[non_exhaustive]pub struct Table {
pub arn: Option<String>,
pub table_name: Option<String>,
pub database_name: Option<String>,
pub table_status: Option<TableStatus>,
pub retention_properties: Option<RetentionProperties>,
pub creation_time: Option<DateTime>,
pub last_updated_time: Option<DateTime>,
pub magnetic_store_write_properties: Option<MagneticStoreWriteProperties>,
pub schema: Option<Schema>,
}
Expand description
Represents a database table in Timestream. Tables contain one or more related time series. You can modify the retention duration of the memory store and the magnetic store for a table.
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.arn: Option<String>
The Amazon Resource Name that uniquely identifies this table.
table_name: Option<String>
The name of the Timestream table.
database_name: Option<String>
The name of the Timestream database that contains this table.
table_status: Option<TableStatus>
The current state of the table:
-
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
retention_properties: Option<RetentionProperties>
The retention duration for the memory store and magnetic store.
creation_time: Option<DateTime>
The time when the Timestream table was created.
last_updated_time: Option<DateTime>
The time when the Timestream table was last updated.
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 Table
impl Table
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name that uniquely identifies this table.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the Timestream table.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the Timestream database that contains this table.
sourcepub fn table_status(&self) -> Option<&TableStatus>
pub fn table_status(&self) -> Option<&TableStatus>
The current state of the table:
-
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
sourcepub fn retention_properties(&self) -> Option<&RetentionProperties>
pub fn retention_properties(&self) -> Option<&RetentionProperties>
The retention duration for the memory store and magnetic store.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time when the Timestream table was created.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The time when the Timestream table was last updated.
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.
Trait Implementations§
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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