#[non_exhaustive]pub struct TableAutoScalingDescription {
pub table_name: Option<String>,
pub table_status: Option<TableStatus>,
pub replicas: Option<Vec<ReplicaAutoScalingDescription>>,
}
Expand description
Represents the auto scaling configuration for a global 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.table_name: Option<String>
The name of the table.
table_status: Option<TableStatus>
The current state of the table:
-
CREATING
- The table is being created. -
UPDATING
- The table is being updated. -
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
replicas: Option<Vec<ReplicaAutoScalingDescription>>
Represents replicas of the global table.
Implementations§
source§impl TableAutoScalingDescription
impl TableAutoScalingDescription
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the table.
sourcepub fn table_status(&self) -> Option<&TableStatus>
pub fn table_status(&self) -> Option<&TableStatus>
The current state of the table:
-
CREATING
- The table is being created. -
UPDATING
- The table is being updated. -
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
sourcepub fn replicas(&self) -> Option<&[ReplicaAutoScalingDescription]>
pub fn replicas(&self) -> Option<&[ReplicaAutoScalingDescription]>
Represents replicas of the global table.
source§impl TableAutoScalingDescription
impl TableAutoScalingDescription
sourcepub fn builder() -> TableAutoScalingDescriptionBuilder
pub fn builder() -> TableAutoScalingDescriptionBuilder
Creates a new builder-style object to manufacture TableAutoScalingDescription
.
Trait Implementations§
source§impl Clone for TableAutoScalingDescription
impl Clone for TableAutoScalingDescription
source§fn clone(&self) -> TableAutoScalingDescription
fn clone(&self) -> TableAutoScalingDescription
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 TableAutoScalingDescription
impl Debug for TableAutoScalingDescription
source§impl PartialEq<TableAutoScalingDescription> for TableAutoScalingDescription
impl PartialEq<TableAutoScalingDescription> for TableAutoScalingDescription
source§fn eq(&self, other: &TableAutoScalingDescription) -> bool
fn eq(&self, other: &TableAutoScalingDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TableAutoScalingDescription
Auto Trait Implementations§
impl RefUnwindSafe for TableAutoScalingDescription
impl Send for TableAutoScalingDescription
impl Sync for TableAutoScalingDescription
impl Unpin for TableAutoScalingDescription
impl UnwindSafe for TableAutoScalingDescription
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