#[non_exhaustive]pub struct GlobalReplicationGroupInfo {
pub global_replication_group_id: Option<String>,
pub global_replication_group_member_role: Option<String>,
}
Expand description
The name of the Global datastore and role of this replication group in the Global datastore.
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_replication_group_id: Option<String>
The name of the Global datastore
global_replication_group_member_role: Option<String>
The role of the replication group in a Global datastore. Can be primary or secondary.
Implementations§
source§impl GlobalReplicationGroupInfo
impl GlobalReplicationGroupInfo
sourcepub fn global_replication_group_id(&self) -> Option<&str>
pub fn global_replication_group_id(&self) -> Option<&str>
The name of the Global datastore
sourcepub fn global_replication_group_member_role(&self) -> Option<&str>
pub fn global_replication_group_member_role(&self) -> Option<&str>
The role of the replication group in a Global datastore. Can be primary or secondary.
source§impl GlobalReplicationGroupInfo
impl GlobalReplicationGroupInfo
sourcepub fn builder() -> GlobalReplicationGroupInfoBuilder
pub fn builder() -> GlobalReplicationGroupInfoBuilder
Creates a new builder-style object to manufacture GlobalReplicationGroupInfo
.
Trait Implementations§
source§impl Clone for GlobalReplicationGroupInfo
impl Clone for GlobalReplicationGroupInfo
source§fn clone(&self) -> GlobalReplicationGroupInfo
fn clone(&self) -> GlobalReplicationGroupInfo
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 GlobalReplicationGroupInfo
impl Debug for GlobalReplicationGroupInfo
source§impl PartialEq for GlobalReplicationGroupInfo
impl PartialEq for GlobalReplicationGroupInfo
source§fn eq(&self, other: &GlobalReplicationGroupInfo) -> bool
fn eq(&self, other: &GlobalReplicationGroupInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GlobalReplicationGroupInfo
Auto Trait Implementations§
impl RefUnwindSafe for GlobalReplicationGroupInfo
impl Send for GlobalReplicationGroupInfo
impl Sync for GlobalReplicationGroupInfo
impl Unpin for GlobalReplicationGroupInfo
impl UnwindSafe for GlobalReplicationGroupInfo
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.