#[non_exhaustive]pub struct GlobalReplicationGroupMember {
pub replication_group_id: Option<String>,
pub replication_group_region: Option<String>,
pub role: Option<String>,
pub automatic_failover: Option<AutomaticFailoverStatus>,
pub status: Option<String>,
}
Expand description
A member of a Global datastore. It contains the Replication Group Id, the Amazon region and the role of the replication group.
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.replication_group_id: Option<String>
The replication group id of the Global datastore member.
replication_group_region: Option<String>
The Amazon region of the Global datastore member.
role: Option<String>
Indicates the role of the replication group, primary or secondary.
automatic_failover: Option<AutomaticFailoverStatus>
Indicates whether automatic failover is enabled for the replication group.
status: Option<String>
The status of the membership of the replication group.
Implementations§
source§impl GlobalReplicationGroupMember
impl GlobalReplicationGroupMember
sourcepub fn replication_group_id(&self) -> Option<&str>
pub fn replication_group_id(&self) -> Option<&str>
The replication group id of the Global datastore member.
sourcepub fn replication_group_region(&self) -> Option<&str>
pub fn replication_group_region(&self) -> Option<&str>
The Amazon region of the Global datastore member.
sourcepub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
Indicates the role of the replication group, primary or secondary.
sourcepub fn automatic_failover(&self) -> Option<&AutomaticFailoverStatus>
pub fn automatic_failover(&self) -> Option<&AutomaticFailoverStatus>
Indicates whether automatic failover is enabled for the replication group.
source§impl GlobalReplicationGroupMember
impl GlobalReplicationGroupMember
sourcepub fn builder() -> GlobalReplicationGroupMemberBuilder
pub fn builder() -> GlobalReplicationGroupMemberBuilder
Creates a new builder-style object to manufacture GlobalReplicationGroupMember
.
Trait Implementations§
source§impl Clone for GlobalReplicationGroupMember
impl Clone for GlobalReplicationGroupMember
source§fn clone(&self) -> GlobalReplicationGroupMember
fn clone(&self) -> GlobalReplicationGroupMember
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 GlobalReplicationGroupMember
impl Debug for GlobalReplicationGroupMember
source§impl PartialEq for GlobalReplicationGroupMember
impl PartialEq for GlobalReplicationGroupMember
source§fn eq(&self, other: &GlobalReplicationGroupMember) -> bool
fn eq(&self, other: &GlobalReplicationGroupMember) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GlobalReplicationGroupMember
Auto Trait Implementations§
impl RefUnwindSafe for GlobalReplicationGroupMember
impl Send for GlobalReplicationGroupMember
impl Sync for GlobalReplicationGroupMember
impl Unpin for GlobalReplicationGroupMember
impl UnwindSafe for GlobalReplicationGroupMember
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.