#[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
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
sourceimpl 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.
sourceimpl GlobalReplicationGroupMember
impl GlobalReplicationGroupMember
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GlobalReplicationGroupMember
Trait Implementations
sourceimpl Clone for GlobalReplicationGroupMember
impl Clone for GlobalReplicationGroupMember
sourcefn clone(&self) -> GlobalReplicationGroupMember
fn clone(&self) -> GlobalReplicationGroupMember
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GlobalReplicationGroupMember
impl Debug for GlobalReplicationGroupMember
sourceimpl PartialEq<GlobalReplicationGroupMember> for GlobalReplicationGroupMember
impl PartialEq<GlobalReplicationGroupMember> for GlobalReplicationGroupMember
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &GlobalReplicationGroupMember) -> bool
fn ne(&self, other: &GlobalReplicationGroupMember) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more