Struct aws_sdk_dynamodb::types::GlobalTable
source · #[non_exhaustive]pub struct GlobalTable {
pub global_table_name: Option<String>,
pub replication_group: Option<Vec<Replica>>,
}
Expand description
Represents the properties of 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.global_table_name: Option<String>
The global table name.
replication_group: Option<Vec<Replica>>
The Regions where the global table has replicas.
Implementations§
source§impl GlobalTable
impl GlobalTable
sourcepub fn global_table_name(&self) -> Option<&str>
pub fn global_table_name(&self) -> Option<&str>
The global table name.
sourcepub fn replication_group(&self) -> &[Replica]
pub fn replication_group(&self) -> &[Replica]
The Regions where the global table has replicas.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replication_group.is_none()
.
source§impl GlobalTable
impl GlobalTable
sourcepub fn builder() -> GlobalTableBuilder
pub fn builder() -> GlobalTableBuilder
Creates a new builder-style object to manufacture GlobalTable
.
Trait Implementations§
source§impl Clone for GlobalTable
impl Clone for GlobalTable
source§fn clone(&self) -> GlobalTable
fn clone(&self) -> GlobalTable
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 GlobalTable
impl Debug for GlobalTable
source§impl PartialEq for GlobalTable
impl PartialEq for GlobalTable
source§fn eq(&self, other: &GlobalTable) -> bool
fn eq(&self, other: &GlobalTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GlobalTable
Auto Trait Implementations§
impl RefUnwindSafe for GlobalTable
impl Send for GlobalTable
impl Sync for GlobalTable
impl Unpin for GlobalTable
impl UnwindSafe for GlobalTable
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
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>
Creates a shared type from an unshared type.