pub struct ReplicaUpdate {
pub create: Option<CreateReplicaAction>,
pub delete: Option<DeleteReplicaAction>,
}
Expand description
Represents one of the following:
-
A new replica to be added to an existing global table.
-
New parameters for an existing replica.
-
An existing replica to be removed from an existing global table.
Fields§
§create: Option<CreateReplicaAction>
The parameters required for creating a replica on an existing global table.
delete: Option<DeleteReplicaAction>
The name of the existing replica to be removed.
Trait Implementations§
Source§impl Clone for ReplicaUpdate
impl Clone for ReplicaUpdate
Source§fn clone(&self) -> ReplicaUpdate
fn clone(&self) -> ReplicaUpdate
Returns a duplicate 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 ReplicaUpdate
impl Debug for ReplicaUpdate
Source§impl Default for ReplicaUpdate
impl Default for ReplicaUpdate
Source§fn default() -> ReplicaUpdate
fn default() -> ReplicaUpdate
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReplicaUpdate
impl PartialEq for ReplicaUpdate
Source§impl Serialize for ReplicaUpdate
impl Serialize for ReplicaUpdate
impl StructuralPartialEq for ReplicaUpdate
Auto Trait Implementations§
impl Freeze for ReplicaUpdate
impl RefUnwindSafe for ReplicaUpdate
impl Send for ReplicaUpdate
impl Sync for ReplicaUpdate
impl Unpin for ReplicaUpdate
impl UnwindSafe for ReplicaUpdate
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