#[non_exhaustive]pub struct GlobalTableWitnessGroupUpdate {
pub create: Option<CreateGlobalTableWitnessGroupMemberAction>,
pub delete: Option<DeleteGlobalTableWitnessGroupMemberAction>,
}
Expand description
Represents one of the following:
-
A new witness to be added to a new global table.
-
An existing witness to be removed from an existing global table.
You can configure one witness per MRSC global table.
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.create: Option<CreateGlobalTableWitnessGroupMemberAction>
Specifies a witness Region to be added to a new MRSC global table. The witness must be added when creating the MRSC global table.
delete: Option<DeleteGlobalTableWitnessGroupMemberAction>
Specifies a witness Region to be removed from an existing global table. Must be done in conjunction with removing a replica. The deletion of both a witness and replica converts the remaining replica to a single-Region DynamoDB table.
Implementations§
Source§impl GlobalTableWitnessGroupUpdate
impl GlobalTableWitnessGroupUpdate
Sourcepub fn create(&self) -> Option<&CreateGlobalTableWitnessGroupMemberAction>
pub fn create(&self) -> Option<&CreateGlobalTableWitnessGroupMemberAction>
Specifies a witness Region to be added to a new MRSC global table. The witness must be added when creating the MRSC global table.
Sourcepub fn delete(&self) -> Option<&DeleteGlobalTableWitnessGroupMemberAction>
pub fn delete(&self) -> Option<&DeleteGlobalTableWitnessGroupMemberAction>
Specifies a witness Region to be removed from an existing global table. Must be done in conjunction with removing a replica. The deletion of both a witness and replica converts the remaining replica to a single-Region DynamoDB table.
Source§impl GlobalTableWitnessGroupUpdate
impl GlobalTableWitnessGroupUpdate
Sourcepub fn builder() -> GlobalTableWitnessGroupUpdateBuilder
pub fn builder() -> GlobalTableWitnessGroupUpdateBuilder
Creates a new builder-style object to manufacture GlobalTableWitnessGroupUpdate
.
Trait Implementations§
Source§impl Clone for GlobalTableWitnessGroupUpdate
impl Clone for GlobalTableWitnessGroupUpdate
Source§fn clone(&self) -> GlobalTableWitnessGroupUpdate
fn clone(&self) -> GlobalTableWitnessGroupUpdate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl PartialEq for GlobalTableWitnessGroupUpdate
impl PartialEq for GlobalTableWitnessGroupUpdate
Source§fn eq(&self, other: &GlobalTableWitnessGroupUpdate) -> bool
fn eq(&self, other: &GlobalTableWitnessGroupUpdate) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GlobalTableWitnessGroupUpdate
Auto Trait Implementations§
impl Freeze for GlobalTableWitnessGroupUpdate
impl RefUnwindSafe for GlobalTableWitnessGroupUpdate
impl Send for GlobalTableWitnessGroupUpdate
impl Sync for GlobalTableWitnessGroupUpdate
impl Unpin for GlobalTableWitnessGroupUpdate
impl UnwindSafe for GlobalTableWitnessGroupUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more