pub struct ReplicaOfSpec {
pub sync_sources: Vec<DatabaseSyncSourceSpec>,
pub extra: Value,
}
Expand description
Optional. Changes Replica Of (also known as Active-Passive) configuration details.
Fields§
§sync_sources: Vec<DatabaseSyncSourceSpec>
Optional. This database will be a replica of the specified Redis databases, provided as a list of objects with endpoint and certificate details.
extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for ReplicaOfSpec
impl Clone for ReplicaOfSpec
Source§fn clone(&self) -> ReplicaOfSpec
fn clone(&self) -> ReplicaOfSpec
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 ReplicaOfSpec
impl Debug for ReplicaOfSpec
Source§impl<'de> Deserialize<'de> for ReplicaOfSpec
impl<'de> Deserialize<'de> for ReplicaOfSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReplicaOfSpec
impl RefUnwindSafe for ReplicaOfSpec
impl Send for ReplicaOfSpec
impl Sync for ReplicaOfSpec
impl Unpin for ReplicaOfSpec
impl UnwindSafe for ReplicaOfSpec
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