pub struct TableMetadata {Show 19 fields
pub table_name: String,
pub key_schema: String,
pub attribute_definitions: String,
pub gsi_definitions: Option<String>,
pub lsi_definitions: Option<String>,
pub stream_enabled: bool,
pub stream_view_type: Option<String>,
pub stream_label: Option<String>,
pub ttl_attribute: Option<String>,
pub ttl_enabled: bool,
pub created_at: i64,
pub table_status: String,
pub billing_mode: Option<String>,
pub provisioned_throughput: Option<String>,
pub sse_specification: Option<String>,
pub table_class: Option<String>,
pub deletion_protection_enabled: bool,
pub on_demand_throughput: Option<String>,
pub table_id: Option<String>,
}Expand description
Metadata row from the _tables table.
Note: The tags column is intentionally excluded. Tags are not on the hot
path for item operations and are accessed via separate get_tags/set_tags
methods to keep the metadata cache lean.
Fields§
§table_name: String§key_schema: String§attribute_definitions: String§gsi_definitions: Option<String>§lsi_definitions: Option<String>§stream_enabled: bool§stream_view_type: Option<String>§stream_label: Option<String>§ttl_attribute: Option<String>§ttl_enabled: bool§created_at: i64§table_status: String§billing_mode: Option<String>§provisioned_throughput: Option<String>§sse_specification: Option<String>§table_class: Option<String>§deletion_protection_enabled: bool§on_demand_throughput: Option<String>§table_id: Option<String>Stable per-table identifier assigned at create time (#55). None only
for rows that predate the v8 migration’s backfill.
Trait Implementations§
Source§impl Clone for TableMetadata
impl Clone for TableMetadata
Source§fn clone(&self) -> TableMetadata
fn clone(&self) -> TableMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TableMetadata
impl RefUnwindSafe for TableMetadata
impl Send for TableMetadata
impl Sync for TableMetadata
impl Unpin for TableMetadata
impl UnsafeUnpin for TableMetadata
impl UnwindSafe for TableMetadata
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