pub struct MultiClusterRoutingUseAny {
pub cluster_ids: Option<Vec<String>>,
}
Expand description
Read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cluster_ids: Option<Vec<String>>
The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
Trait Implementations§
source§impl Clone for MultiClusterRoutingUseAny
impl Clone for MultiClusterRoutingUseAny
source§fn clone(&self) -> MultiClusterRoutingUseAny
fn clone(&self) -> MultiClusterRoutingUseAny
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 MultiClusterRoutingUseAny
impl Debug for MultiClusterRoutingUseAny
source§impl Default for MultiClusterRoutingUseAny
impl Default for MultiClusterRoutingUseAny
source§fn default() -> MultiClusterRoutingUseAny
fn default() -> MultiClusterRoutingUseAny
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MultiClusterRoutingUseAny
impl<'de> Deserialize<'de> for MultiClusterRoutingUseAny
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
impl Part for MultiClusterRoutingUseAny
Auto Trait Implementations§
impl RefUnwindSafe for MultiClusterRoutingUseAny
impl Send for MultiClusterRoutingUseAny
impl Sync for MultiClusterRoutingUseAny
impl Unpin for MultiClusterRoutingUseAny
impl UnwindSafe for MultiClusterRoutingUseAny
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